summaryrefslogtreecommitdiff
path: root/src/arch/x86/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-02-13 17:45:12 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-02-13 17:45:12 -0800
commitbce2be525d0ff05af914515bc2d9e9ac9d66a123 (patch)
tree694ada6849dae89a98746529cc87cde646d8172c /src/arch/x86/insts
parentb046f3feb6e54f128e8868fcb807d0d5ac0d7ba7 (diff)
downloadgem5-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')
-rw-r--r--src/arch/x86/insts/microregop.cc3
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))
{