summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa/operands.isa
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/isa/operands.isa
parent698ee26c6b5b3691069024c43088d4c1efc34656 (diff)
downloadgem5-a5ea52bb456951a7c8bdecfe251ca8a093bcfb2f.tar.xz
ARM: Allow flattening into any mode.
Diffstat (limited to 'src/arch/arm/isa/operands.isa')
-rw-r--r--src/arch/arm/isa/operands.isa3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/arm/isa/operands.isa b/src/arch/arm/isa/operands.isa
index 3fda93668..d99211b89 100644
--- a/src/arch/arm/isa/operands.isa
+++ b/src/arch/arm/isa/operands.isa
@@ -99,6 +99,9 @@ def operands {{
maybePCRead, maybeIWPCWrite),
'AIWDest': ('IntReg', 'uw', 'dest', 'IsInteger', 2,
maybePCRead, maybeAIWPCWrite),
+ 'SpMode': ('IntReg', 'uw',
+ 'intRegInMode((OperatingMode)regMode, INTREG_SP)',
+ 'IsInteger', 2),
'MiscDest': ('ControlReg', 'uw', 'dest', (None, None, 'IsControl'), 2),
'Base': ('IntReg', 'uw', 'base', 'IsInteger', 0,
maybeAlignedPCRead, maybePCWrite),