aboutsummaryrefslogtreecommitdiff
path: root/target/microblaze
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2016-08-09 14:54:54 +0200
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2017-07-04 09:22:20 +0200
commitbc54e71e0c55db3ae4599b4333f349e5771cb5ef (patch)
treea859b911fc62e57c504d7d4ce481d6a274ee41dc /target/microblaze
parent8fc5239e1f8df617147dfe9761dd78291fea78d7 (diff)
downloadqemu-bc54e71e0c55db3ae4599b4333f349e5771cb5ef.zip
qemu-bc54e71e0c55db3ae4599b4333f349e5771cb5ef.tar.gz
qemu-bc54e71e0c55db3ae4599b4333f349e5771cb5ef.tar.bz2
target-microblaze: dec_barrel: Use bool instead of unsigned int
Use bool instead of unsigned int to represent flags. No functional change. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target/microblaze')
-rw-r--r--target/microblaze/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c
index fbb8bb4..4136a8e 100644
--- a/target/microblaze/translate.c
+++ b/target/microblaze/translate.c
@@ -660,7 +660,7 @@ static void dec_div(DisasContext *dc)
static void dec_barrel(DisasContext *dc)
{
TCGv t0;
- unsigned int s, t;
+ bool s, t;
if ((dc->tb_flags & MSR_EE_FLAG)
&& (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)