diff options
author | Nathan Binkert <nate@binkert.org> | 2009-08-21 09:10:25 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-08-21 09:10:25 -0700 |
commit | 890be773623adaa40af90933fcdb5abc717eb742 (patch) | |
tree | 3044b85922f39c1a40bd329e3ad5090385734b46 /src/arch/x86/isa | |
parent | f6bb7ec4eb38cc61c32f4c6941e09deda23f979c (diff) | |
download | gem5-890be773623adaa40af90933fcdb5abc717eb742.tar.xz |
X86: fix some simple compile issues
static should not be used for constants that are not inside a class definition.
Diffstat (limited to 'src/arch/x86/isa')
-rw-r--r-- | src/arch/x86/isa/microops/mediaop.isa | 4 |
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); |