Re: [Qemu-devel] [PATCH for-4.1] tcg: Fix constant folding of INDEX_op_extract2_i32

2019-07-10 Thread Christophe Lyon
On Tue, 9 Jul 2019 at 15:02, Alex Bennée wrote: > > > Richard Henderson writes: > > > On a 64-bit host, discard any replications of the 32-bit > > sign bit when performing the shift and merge. > > > > Fixes: https://bugs.launchpad.net/bugs/1834496 > > Signed-off-by: Richard Henderson > > Reviewe

Re: [Qemu-devel] [PATCH for-4.1] tcg: Fix constant folding of INDEX_op_extract2_i32

2019-07-09 Thread Alex Bennée
Richard Henderson writes: > On a 64-bit host, discard any replications of the 32-bit > sign bit when performing the shift and merge. > > Fixes: https://bugs.launchpad.net/bugs/1834496 > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée Tested-by: Alex Bennée > --- > tcg/optimize.c

[Qemu-devel] [PATCH for-4.1] tcg: Fix constant folding of INDEX_op_extract2_i32

2019-07-09 Thread Richard Henderson
On a 64-bit host, discard any replications of the 32-bit sign bit when performing the shift and merge. Fixes: https://bugs.launchpad.net/bugs/1834496 Signed-off-by: Richard Henderson --- tcg/optimize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/optimize.c b/tcg/o