Re: [Qemu-devel] [PATCH 2/2] target-microblaze: Cleanup dec_mul

2016-09-28 Thread Edgar E. Iglesias
On Tue, Sep 27, 2016 at 02:23:53PM -0700, Richard Henderson wrote: > Use tcg_gen_mul_tl for muli and mul instructions. > Use tcg_gen_muls2_tl for mulh instruction. > Use tcg_gen_mulu2_tl for mulhu instruction. > Use tcg_gen_mulsu2_tl for mulhsu instruction. > > Note that this last fixes a bug, in

[Qemu-devel] [PATCH 2/2] target-microblaze: Cleanup dec_mul

2016-09-27 Thread Richard Henderson
Use tcg_gen_mul_tl for muli and mul instructions. Use tcg_gen_muls2_tl for mulh instruction. Use tcg_gen_mulu2_tl for mulhu instruction. Use tcg_gen_mulsu2_tl for mulhsu instruction. Note that this last fixes a bug, in that mulhsu was previously treating both operands as signed, instead of treatin