target/microblaze: Split out MSR[C] to its own variable
commit1074c0fb9153f631ce93f7e7d74b935fdcb0d82a
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 18 Aug 2020 18:58:23 +0000 (18 11:58 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Sep 2020 14:41:38 +0000 (1 07:41 -0700)
treee1ea24a332b03f32dcad83ae06aefafc57e2374a
parent480d29a8fa842ca94297600397041f0efb0c7bd0
target/microblaze: Split out MSR[C] to its own variable

Having the MSR[C] bit separate will improve arithmetic that operates
on the carry bit.  Having mb_cpu_read_msr() populate MSR[CC] will
prevent the carry copy not matching the carry bit.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/elfload.c
target/microblaze/cpu.c
target/microblaze/cpu.h
target/microblaze/gdbstub.c
target/microblaze/helper.c
target/microblaze/translate.c