summaryrefslogtreecommitdiff
path: root/src/arch/power/utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/utility.cc')
-rw-r--r--src/arch/power/utility.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/power/utility.cc b/src/arch/power/utility.cc
index e3fa246fc..7be195b8d 100644
--- a/src/arch/power/utility.cc
+++ b/src/arch/power/utility.cc
@@ -48,6 +48,9 @@ copyRegs(ThreadContext *src, ThreadContext *dest)
for (int i = 0; i < NumFloatRegs; ++i)
dest->setFloatRegBits(i, src->readFloatRegBits(i));
+ // Would need to add condition-code regs if implemented
+ assert(NumCCRegs == 0);
+
// Copy misc. registers
copyMiscRegs(src, dest);