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:
Gabe Black 2010-06-02 12:58:01 -05:00
parent a86491fbf2
commit 79b288f7b5

View file

@ -126,6 +126,8 @@ namespace ArmISA
DPRINTF(Predecoder, "16 bit Thumb.\n");
offset += 2;
emi.instBits = word;
// Set the condition code field artificially.
emi.condCode = COND_UC;
}
}
}