summaryrefslogtreecommitdiff
path: root/src/arch/arm/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:11 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:11 -0500
commita5ea52bb456951a7c8bdecfe251ca8a093bcfb2f (patch)
treea09d91744c7ab8a5a390bca082a3ed5e8e9744dd /src/arch/arm/insts
parent698ee26c6b5b3691069024c43088d4c1efc34656 (diff)
downloadgem5-a5ea52bb456951a7c8bdecfe251ca8a093bcfb2f.tar.xz
ARM: Allow flattening into any mode.
Diffstat (limited to 'src/arch/arm/insts')
-rw-r--r--src/arch/arm/insts/macromem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/insts/macromem.cc b/src/arch/arm/insts/macromem.cc
index 5c4c2522d..e5c374089 100644
--- a/src/arch/arm/insts/macromem.cc
+++ b/src/arch/arm/insts/macromem.cc
@@ -101,7 +101,7 @@ MacroMemOp::MacroMemOp(const char *mnem, ExtMachInst machInst,
unsigned regIdx = reg;
if (force_user) {
- regIdx = intRegForceUser(regIdx);
+ regIdx = intRegInMode(MODE_USER, regIdx);
}
if (load) {