Re: [PATCH] target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode

2023-02-16 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH] target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode

2023-02-15 Thread Philippe Mathieu-Daudé
On 15/1/23 02:21, Richard Henderson wrote: Failure to truncate the inputs results in garbage for the carry-out. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1373 Signed-off-by: Richard Henderson --- tests/tcg/x86_64/adox.c | 69 target/i38

Re: [PATCH] target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode

2023-02-15 Thread Richard Henderson
Ping. Paolo, I see you've queued a fix for a different ADCOX bug in your latest pull. You could probably adjust your new test for this case, but this problem is exclusively x86_64. r~ On 1/14/23 15:21, Richard Henderson wrote: Failure to truncate the inputs results in garbage for the carry

[PATCH] target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode

2023-01-14 Thread Richard Henderson
Failure to truncate the inputs results in garbage for the carry-out. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1373 Signed-off-by: Richard Henderson --- tests/tcg/x86_64/adox.c | 69 target/i386/tcg/emit.c.inc | 2 + tests/tcg/x86_64