summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-02-06 20:55:50 -0800
committerNathan Binkert <nate@binkert.org>2009-02-06 20:55:50 -0800
commite1798d063e6d794bd44ba329e1b3ba5ac1dca9a5 (patch)
tree7989994bf304a8357daad22b1379fc3ccc88a93d /src/arch
parent64eb0dc9cdd22b8c1e55ff7faaae1cae83c0a1a9 (diff)
downloadgem5-e1798d063e6d794bd44ba329e1b3ba5ac1dca9a5.tar.xz
Quell g++ 4.3 warning about operator ambiguity
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/isa/microops/regop.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa/microops/regop.isa b/src/arch/x86/isa/microops/regop.isa
index 202bfc7f5..567335b7f 100644
--- a/src/arch/x86/isa/microops/regop.isa
+++ b/src/arch/x86/isa/microops/regop.isa
@@ -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);
}