summaryrefslogtreecommitdiff
path: root/arch/isa_parser.py
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-05-04 20:49:24 -0400
committerKorey Sewell <ksewell@umich.edu>2006-05-04 20:49:24 -0400
commit2e7e844768e160bf81be53d6b633f3851bb4ea80 (patch)
tree6e8beceb6aa8156dcf118cf3525c96e17edc902b /arch/isa_parser.py
parent97429d8eeede120a2a78407f3573aa7a05075a89 (diff)
downloadgem5-2e7e844768e160bf81be53d6b633f3851bb4ea80.tar.xz
recognized 32 & 64 bit unsigned integer types and set the width appropriately
arch/mips/isa_traits.hh: debug statements to be taken out real soon like... --HG-- extra : convert_revision : 4e9abcb99c991db93328d01d7606a2bb942b29ee
Diffstat (limited to 'arch/isa_parser.py')
-rwxr-xr-xarch/isa_parser.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/isa_parser.py b/arch/isa_parser.py
index 83620a9f1..a92c85c3f 100755
--- a/arch/isa_parser.py
+++ b/arch/isa_parser.py
@@ -1226,6 +1226,10 @@ class FloatRegOperand(Operand):
width = 64;
else:
func = 'readFloatRegBits'
+ if (self.ctype == 'uint32_t'):
+ width = 32;
+ elif (self.ctype == 'uint64_t'):
+ width = 64;
if (self.size != self.dflt_size):
bit_select = 1
if width:
@@ -1251,6 +1255,9 @@ class FloatRegOperand(Operand):
elif (self.ctype == 'double'):
width = 64
func = 'setFloatReg'
+ elif (self.ctype == 'uint32_t'):
+ func = 'setFloatRegBits'
+ width = 32
elif (self.ctype == 'uint64_t'):
func = 'setFloatRegBits'
width = 64