ARM: Force the condition code for 16 bit thumb instructions to be unconditional.
Before, because 16 bit thumb instructions didn't set the upper 16 bits of the ExtMachInst, that field would be interpretted as "equals".
This commit is contained in:
parent
a86491fbf2
commit
79b288f7b5
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ namespace ArmISA
|
||||||
DPRINTF(Predecoder, "16 bit Thumb.\n");
|
DPRINTF(Predecoder, "16 bit Thumb.\n");
|
||||||
offset += 2;
|
offset += 2;
|
||||||
emi.instBits = word;
|
emi.instBits = word;
|
||||||
|
// Set the condition code field artificially.
|
||||||
|
emi.condCode = COND_UC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue