diff -r d43eb1203aec -r 579c565548dc src/arch/power/registers.hh --- a/src/arch/power/registers.hh Thu Jun 07 17:03:45 2012 -0500 +++ b/src/arch/power/registers.hh Fri Jun 08 10:55:47 2012 +0100 @@ -38,7 +38,10 @@ using PowerISAInst::MaxInstSrcRegs; using PowerISAInst::MaxInstDestRegs; -using PowerISAInst::MaxMiscDestRegs; + +// Power writes a misc register outside of the isa parser, so it can't +// be detected by it. Manually add it here. +const int MaxMiscDestRegs = PowerISAInst::MaxMiscDestRegs + 1; typedef uint8_t RegIndex;