]> git.ipfire.org Git - thirdparty/qemu.git/commit - target/microblaze/translate.c
target-microblaze: Simplify address computation using tcg_gen_addi_i32()
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sat, 5 May 2018 12:27:23 +0000 (14:27 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 29 May 2018 07:35:14 +0000 (09:35 +0200)
commitf7a66e3a8602b0498d340e5de959fbcf738a19b6
tree236142b83a1a5ed447ee5766e64551bc964f278c
parent25ec2fdd7bb4957f15fa6153bf446d43dd7acb3e
target-microblaze: Simplify address computation using tcg_gen_addi_i32()

Simplify address computation using tcg_gen_addi_i32().
tcg_gen_addi_i32() already optimizes the case when the
immediate is zero.

No functional change.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/microblaze/translate.c