diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-16 09:29:29 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-16 09:29:29 -0700 |
commit | ba6b8389ee72e17a6b966f2af24e80b2cff83e48 (patch) | |
tree | bb6ead4503f4b0fb5bd9e086799ccea18724d149 /src/arch/x86/insts/microfpop.hh | |
parent | 80c834ccac0b92cccd9756d4a2ec4cd4b46b6711 (diff) | |
download | gem5-ba6b8389ee72e17a6b966f2af24e80b2cff83e48.tar.xz |
X86: Take limitted advantage of the compilers type checking for microop operands.
Diffstat (limited to 'src/arch/x86/insts/microfpop.hh')
-rw-r--r-- | src/arch/x86/insts/microfpop.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/insts/microfpop.hh b/src/arch/x86/insts/microfpop.hh index 2e01cadbc..d3cecd67b 100644 --- a/src/arch/x86/insts/microfpop.hh +++ b/src/arch/x86/insts/microfpop.hh @@ -80,13 +80,13 @@ namespace X86ISA const char *mnem, const char *_instMnem, bool isMicro, bool isDelayed, bool isFirst, bool isLast, - RegIndex _src1, RegIndex _src2, RegIndex _dest, + InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest, uint8_t _dataSize, int8_t _spm, OpClass __opClass) : X86MicroopBase(_machInst, mnem, _instMnem, isMicro, isDelayed, isFirst, isLast, __opClass), - src1(_src1), src2(_src2), dest(_dest), + src1(_src1.idx), src2(_src2.idx), dest(_dest.idx), dataSize(_dataSize), spm(_spm) {} /* |