diff options
author | Richard Henderson <rth@twiddle.net> | 2016-09-27 14:23:53 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-11-01 10:30:45 -0600 |
commit | 16ece88dcb63ee3baadbc337834812f32bff152f (patch) | |
tree | 2cfe52ced40c0dbf2750c53da12bcecd1dc903c4 /docs | |
parent | 5087abfb7dfd1d368ae6939420057036b4d8e509 (diff) | |
download | qemu-16ece88dcb63ee3baadbc337834812f32bff152f.zip qemu-16ece88dcb63ee3baadbc337834812f32bff152f.tar.gz qemu-16ece88dcb63ee3baadbc337834812f32bff152f.tar.bz2 |
target-microblaze: Cleanup dec_mul
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 treating rb as unsigned.
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1475011433-24456-3-git-send-email-rth@twiddle.net>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions