arm: set uopSet_uop as conditional or unconditional control
uopSet_uop is microop instruction that has the IsControl flags set, but the IsCondControl or IsUncondControl flags seems not to be set, neither in the construction nor where the microop is used. This patch adds the the flags in the constructor of the instruction (MicroUopSetPCCPSR). Committed by: Nilay Vaish <nilay@cs.wisc.edu>
This commit is contained in:
parent
84fc57bfe6
commit
3026a116ba
1 changed files with 3 additions and 0 deletions
|
@ -135,9 +135,12 @@ def template MicroSetPCCPSRConstructor {{
|
|||
{
|
||||
%(constructor)s;
|
||||
if (!(condCode == COND_AL || condCode == COND_UC)) {
|
||||
flags[IsCondControl] = true;
|
||||
for (int x = 0; x < _numDestRegs; x++) {
|
||||
_srcRegIdx[_numSrcRegs++] = _destRegIdx[x];
|
||||
}
|
||||
} else {
|
||||
flags[IsUncondControl] = true;
|
||||
}
|
||||
}
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue