summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/microops
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-23 14:19:14 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-23 14:19:14 -0700
commite251b42c59ba112357eb8f1d841fc162b284d83e (patch)
tree30d2ae800106235282e8336188046a8f30e235c2 /src/arch/x86/isa/microops
parentd0d597004f01ca475c16d5385353e58d3f1f689a (diff)
parent890be773623adaa40af90933fcdb5abc717eb742 (diff)
downloadgem5-e251b42c59ba112357eb8f1d841fc162b284d83e.tar.xz
Merge with head.
Diffstat (limited to 'src/arch/x86/isa/microops')
-rw-r--r--src/arch/x86/isa/microops/mediaop.isa4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/isa/microops/mediaop.isa b/src/arch/x86/isa/microops/mediaop.isa
index 7ebe2ec10..9c53fa0fb 100644
--- a/src/arch/x86/isa/microops/mediaop.isa
+++ b/src/arch/x86/isa/microops/mediaop.isa
@@ -1406,8 +1406,8 @@ let {{
(0 - (arg2Bits & (1 << (sizeBits - 1))));
uint64_t resBits = 0;
- if ((ext & 0x2) == 0 && arg1 == arg2 ||
- (ext & 0x2) == 0x2 && arg1 > arg2)
+ if (((ext & 0x2) == 0 && arg1 == arg2) ||
+ ((ext & 0x2) == 0x2 && arg1 > arg2))
resBits = mask(sizeBits);
result = insertBits(result, hiIndex, loIndex, resBits);