diff options
author | Steve Reinhardt <stever@gmail.com> | 2007-07-31 00:37:07 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2007-07-31 00:37:07 -0400 |
commit | c4c8a121863fcbde7ba67823f06a3f7564c27cba (patch) | |
tree | accca43f0d87a07f3bcedf46a88fd6e3a5e86167 /src/arch/x86/insts/microregop.hh | |
parent | 2f93db6f95b02d2bedf9571330a3185ac3fa7fa9 (diff) | |
parent | ae3e1d22fc3bfff8c246a0a743b77f4096d95b74 (diff) | |
download | gem5-c4c8a121863fcbde7ba67823f06a3f7564c27cba.tar.xz |
Merge from head.
--HG--
extra : convert_revision : af16bc685ea28e44b8120f16b72f60a21d68c1e2
Diffstat (limited to 'src/arch/x86/insts/microregop.hh')
-rw-r--r-- | src/arch/x86/insts/microregop.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/insts/microregop.hh b/src/arch/x86/insts/microregop.hh index f411c0775..f465ac651 100644 --- a/src/arch/x86/insts/microregop.hh +++ b/src/arch/x86/insts/microregop.hh @@ -113,6 +113,7 @@ namespace X86ISA const RegIndex dest; const uint8_t dataSize; const uint16_t ext; + RegIndex foldOBit; // Constructor RegOpBase(ExtMachInst _machInst, @@ -128,6 +129,7 @@ namespace X86ISA src1(_src1), dest(_dest), dataSize(_dataSize), ext(_ext) { + foldOBit = (dataSize == 1 && !_machInst.rex.present) ? 1 << 6 : 0; } //Figure out what the condition code flags should be. |