mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
target-microblaze: dec_load: Use bool instead of unsigned int
Use bool instead of unsigned int to represent flags. No functional change. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
5a5c383b13
commit
8534063a38
1 changed files with 4 additions and 3 deletions
|
@ -897,14 +897,15 @@ static inline TCGv *compute_ldst_addr(DisasContext *dc, TCGv *t)
|
|||
static void dec_load(DisasContext *dc)
|
||||
{
|
||||
TCGv t, v, *addr;
|
||||
unsigned int size, rev = 0, ex = 0;
|
||||
unsigned int size;
|
||||
bool rev = false, ex = false;
|
||||
TCGMemOp mop;
|
||||
|
||||
mop = dc->opcode & 3;
|
||||
size = 1 << mop;
|
||||
if (!dc->type_b) {
|
||||
rev = (dc->ir >> 9) & 1;
|
||||
ex = (dc->ir >> 10) & 1;
|
||||
rev = extract32(dc->ir, 9, 1);
|
||||
ex = extract32(dc->ir, 10, 1);
|
||||
}
|
||||
mop |= MO_TE;
|
||||
if (rev) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue