summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/operands.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-29 20:35:30 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-29 20:35:30 -0700
commit34f3c9d196cdabbc1f1fd02a6052c86c5a1c12e9 (patch)
tree623d6080ca2132dc8289df8c56e200bb6d40a917 /src/arch/x86/isa/operands.isa
parentbc3635a110747123be066de5238961938ea5df78 (diff)
downloadgem5-34f3c9d196cdabbc1f1fd02a6052c86c5a1c12e9.tar.xz
X86: Add operands to handle floating point registers.
--HG-- extra : convert_revision : 2e8289dbd3f5dda1221014d4ed0e9450f60de0cf
Diffstat (limited to 'src/arch/x86/isa/operands.isa')
-rw-r--r--src/arch/x86/isa/operands.isa15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/arch/x86/isa/operands.isa b/src/arch/x86/isa/operands.isa
index 3a557169f..347322752 100644
--- a/src/arch/x86/isa/operands.isa
+++ b/src/arch/x86/isa/operands.isa
@@ -92,7 +92,6 @@ def operand_types {{
'uqw' : ('unsigned int', 64),
'sf' : ('float', 32),
'df' : ('float', 64),
- 'qf' : ('float', 128)
}};
def operands {{
@@ -103,10 +102,14 @@ def operands {{
'DestReg': ('IntReg', 'uqw', '(((dest & 0x1C) == 4 ? foldOBit : 0) | dest)', 'IsInteger', 5),
'Data': ('IntReg', 'uqw', '(((data & 0x1C) == 4 ? foldOBit : 0) | data)', 'IsInteger', 6),
'rax': ('IntReg', 'uqw', '(INTREG_RAX)', 'IsInteger', 7),
- 'RIP': ('NPC', 'uqw', None, (None, None, 'IsControl'), 10),
- 'uIP': ('UPC', 'uqw', None, (None, None, 'IsControl'), 11),
- 'nuIP': ('NUPC', 'uqw', None, (None, None, 'IsControl'), 12),
- 'ccFlagBits': ('IntReg', 'uqw', 'NUM_INTREGS + NumMicroIntRegs', None, 20),
- 'SegBase': ('ControlReg', 'uqw', 'MISCREG_SEG_BASE(segment)', (None, None, ['IsSerializeAfter','IsSerializing','IsNonSpeculative']), 50),
+ 'FpSrcReg1': ('FloatReg', 'df', 'src1', 'IsFloating', 20),
+ 'FpSrcReg2': ('FloatReg', 'df', 'src2', 'IsFloating', 21),
+ 'FpDestReg': ('FloatReg', 'df', 'dest', 'IsFloating', 22),
+ 'FpData': ('FloatReg', 'df', 'data', 'IsFloating', 23),
+ 'RIP': ('NPC', 'uqw', None, (None, None, 'IsControl'), 50),
+ 'uIP': ('UPC', 'uqw', None, (None, None, 'IsControl'), 51),
+ 'nuIP': ('NUPC', 'uqw', None, (None, None, 'IsControl'), 52),
+ 'ccFlagBits': ('IntReg', 'uqw', 'NUM_INTREGS + NumMicroIntRegs', None, 60),
+ 'SegBase': ('ControlReg', 'uqw', 'MISCREG_SEG_BASE(segment)', (None, None, ['IsSerializeAfter','IsSerializing','IsNonSpeculative']), 70),
'Mem': ('Mem', 'uqw', None, ('IsMemRef', 'IsLoad', 'IsStore'), 100)
}};