Quell g++ 4.3 warning about operator ambiguity
authorNathan Binkert <nate@binkert.org>
Sat, 7 Feb 2009 04:55:50 +0000 (20:55 -0800)
committerNathan Binkert <nate@binkert.org>
Sat, 7 Feb 2009 04:55:50 +0000 (20:55 -0800)
src/arch/x86/isa/microops/regop.isa

index 202bfc7f5a6036d3cd4ad245e84b1ee66e40c3c8..567335b7f15df09118db2504132334b2a45a55e6 100644 (file)
@@ -1074,7 +1074,7 @@ let {{
                 // Fall through on purpose
               case SegIntGateCheck:
                 // Make sure the gate's the right type.
-                if (m5reg.mode == LongMode && ((desc.type & 0xe) != 0xe) ||
+                if ((m5reg.mode == LongMode && (desc.type & 0xe) != 0xe) ||
                         ((desc.type & 0x6) != 0x6)) {
                     fault = new GeneralProtection(0);
                 }