diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-02-13 17:45:12 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-02-13 17:45:12 -0800 |
commit | bce2be525d0ff05af914515bc2d9e9ac9d66a123 (patch) | |
tree | 694ada6849dae89a98746529cc87cde646d8172c /src/arch/x86/insts/microregop.cc | |
parent | b046f3feb6e54f128e8868fcb807d0d5ac0d7ba7 (diff) | |
download | gem5-bce2be525d0ff05af914515bc2d9e9ac9d66a123.tar.xz |
X86: Put the result used for flags in an intermediate variable.
Using the destination register directly causes the ISA parser to treat it as a
source even if none of the original bits are used.
Diffstat (limited to 'src/arch/x86/insts/microregop.cc')
-rw-r--r-- | src/arch/x86/insts/microregop.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/x86/insts/microregop.cc b/src/arch/x86/insts/microregop.cc index 6aee87449..dedea0f3d 100644 --- a/src/arch/x86/insts/microregop.cc +++ b/src/arch/x86/insts/microregop.cc @@ -50,9 +50,6 @@ namespace X86ISA bool subtract) const { DPRINTF(X86, "flagMask = %#x\n", flagMask); - if (_destRegIdx[0] & IntFoldBit) { - _dest >>= 8; - } uint64_t flags = oldFlags & ~flagMask; if(flagMask & (ECFBit | CFBit)) { |