diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-07-05 16:52:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-07-05 16:52:15 -0700 |
commit | 63a934d152024c093dc02cc94ad6b29607615af4 (patch) | |
tree | 796b6cd7a1c2cfa6d5a3c532409c4802df7ab755 /src/arch/x86/isa | |
parent | f16179eb213acdbf4d86a1a50a1facc56c9e660d (diff) | |
download | gem5-63a934d152024c093dc02cc94ad6b29607615af4.tar.xz |
ISA parser: Define operand types with a ctype directly.
Diffstat (limited to 'src/arch/x86/isa')
-rw-r--r-- | src/arch/x86/isa/operands.isa | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/arch/x86/isa/operands.isa b/src/arch/x86/isa/operands.isa index 51b9b73a6..aedfedc0c 100644 --- a/src/arch/x86/isa/operands.isa +++ b/src/arch/x86/isa/operands.isa @@ -39,16 +39,16 @@ // Authors: Gabe Black def operand_types {{ - 'sb' : ('signed int', 8), - 'ub' : ('unsigned int', 8), - 'sw' : ('signed int', 16), - 'uw' : ('unsigned int', 16), - 'sdw' : ('signed int', 32), - 'udw' : ('unsigned int', 32), - 'sqw' : ('signed int', 64), - 'uqw' : ('unsigned int', 64), - 'sf' : ('float', 32), - 'df' : ('float', 64), + 'sb' : 'int8_t', + 'ub' : 'uint8_t', + 'sw' : 'int16_t', + 'uw' : 'uint16_t', + 'sdw' : 'int32_t', + 'udw' : 'uint32_t', + 'sqw' : 'int64_t', + 'uqw' : 'uint64_t', + 'sf' : 'float', + 'df' : 'double', }}; let {{ |