Re: [Qemu-devel] [PATCH for-2.12] tcg: Mark muluh_i64 and mulsh_i64 as 64-bit ops

2018-03-27 Thread Philippe Mathieu-Daudé
On 03/27/2018 12:47 AM, Richard Henderson wrote: > Failure to do so results in the tcg optimizer sign-extending > any constant fold from 32-bits. This turns out to be visible > in the RISC-V testsuite using a host that emits these opcodes > (e.g. any non-x86_64). > > Reported-by: Michael Clark >

Re: [Qemu-devel] [PATCH for-2.12] tcg: Mark muluh_i64 and mulsh_i64 as 64-bit ops

2018-03-26 Thread Emilio G. Cota
On Tue, Mar 27, 2018 at 11:47:57 +0800, Richard Henderson wrote: > Failure to do so results in the tcg optimizer sign-extending > any constant fold from 32-bits. This turns out to be visible > in the RISC-V testsuite using a host that emits these opcodes > (e.g. any non-x86_64). > > Reported-by: M

[Qemu-devel] [PATCH for-2.12] tcg: Mark muluh_i64 and mulsh_i64 as 64-bit ops

2018-03-26 Thread Richard Henderson
Failure to do so results in the tcg optimizer sign-extending any constant fold from 32-bits. This turns out to be visible in the RISC-V testsuite using a host that emits these opcodes (e.g. any non-x86_64). Reported-by: Michael Clark Signed-off-by: Richard Henderson --- tcg/tcg-opc.h | 4 ++--