Re: [Qemu-devel] [RISU RFC PATCH v2 02/14] risugen_x86_asm: add module

2019-07-10 Thread Jan Bobek
On 7/3/19 11:37 AM, Richard Henderson wrote: > On 7/1/19 6:35 AM, Jan Bobek wrote: >> +VEX_V_UNUSED => 0b, > > I think perhaps this is a mistake. Yes, that's what goes in the field, but > what goes in the field is ~(logical_value). > > While for general RISU-ish operation, ~(random_numbe

Re: [Qemu-devel] [RISU RFC PATCH v2 02/14] risugen_x86_asm: add module

2019-07-03 Thread Richard Henderson
On 7/1/19 6:35 AM, Jan Bobek wrote: > +VEX_V_UNUSED => 0b, I think perhaps this is a mistake. Yes, that's what goes in the field, but what goes in the field is ~(logical_value). While for general RISU-ish operation, ~(random_number) is just as random as +(random_number), the difference w

[Qemu-devel] [RISU RFC PATCH v2 02/14] risugen_x86_asm: add module

2019-06-30 Thread Jan Bobek
The module risugen_x86_asm.pm exports several constants and the function write_insn, which work in tandem to allow emission of x86 instructions in more clear and structured manner. Signed-off-by: Jan Bobek --- risugen_x86_asm.pm | 252 + 1 file changed