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 7be195b8d..fa2a1d89b 100644
--- a/src/arch/power/utility.cc
+++ b/src/arch/power/utility.cc
@@ -51,6 +51,9 @@ copyRegs(ThreadContext *src, ThreadContext *dest)
// Would need to add condition-code regs if implemented
assert(NumCCRegs == 0);
+ // Copy vector registers when vector registers put to use.
+ assert(NumVectorRegs == 0);
+
// Copy misc. registers
copyMiscRegs(src, dest);