diff options
Diffstat (limited to 'src/arch/arm/registers.hh')
-rw-r--r-- | src/arch/arm/registers.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/arm/registers.hh b/src/arch/arm/registers.hh index 61e467e24..30289ff27 100644 --- a/src/arch/arm/registers.hh +++ b/src/arch/arm/registers.hh @@ -49,7 +49,11 @@ namespace ArmISA { -using ArmISAInst::MaxInstSrcRegs; + +// For a predicated instruction, we need all the +// destination registers to also be sources +const int MaxInstSrcRegs = ArmISAInst::MaxInstDestRegs + + ArmISAInst::MaxInstSrcRegs; using ArmISAInst::MaxInstDestRegs; typedef uint16_t RegIndex; |