summaryrefslogtreecommitdiff
path: root/src/arch/x86/insts/static_inst.cc
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-07-18 17:40:20 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-07-18 17:40:20 -0500
commit926ab6e6dbc2417f6c103512481a60e64be4fea8 (patch)
treed8598dd4a0841928729ebde1f0b00882e6498604 /src/arch/x86/insts/static_inst.cc
parent4b7ea4cb510465bc82c6679407d5a125cfddd18c (diff)
parentd85cd08113e61817fdf1df978f2713ba8b094996 (diff)
downloadgem5-926ab6e6dbc2417f6c103512481a60e64be4fea8.tar.xz
merge
Diffstat (limited to 'src/arch/x86/insts/static_inst.cc')
-rw-r--r--src/arch/x86/insts/static_inst.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/arch/x86/insts/static_inst.cc b/src/arch/x86/insts/static_inst.cc
index f4ed44603..4f48c4c59 100644
--- a/src/arch/x86/insts/static_inst.cc
+++ b/src/arch/x86/insts/static_inst.cc
@@ -149,14 +149,11 @@ namespace X86ISA
if (reg < FP_Base_DepTag) {
const char * suffix = "";
- bool fold = reg & (1 << 6);
- reg &= ~(1 << 6);
+ bool fold = reg & IntFoldBit;
+ reg &= ~IntFoldBit;
if(fold)
- {
suffix = "h";
- reg -= 4;
- }
else if(reg < 8 && size == 1)
suffix = "l";