diff options
author | Nathan Binkert <nate@binkert.org> | 2009-02-06 20:55:50 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-02-06 20:55:50 -0800 |
commit | e1798d063e6d794bd44ba329e1b3ba5ac1dca9a5 (patch) | |
tree | 7989994bf304a8357daad22b1379fc3ccc88a93d /src/arch | |
parent | 64eb0dc9cdd22b8c1e55ff7faaae1cae83c0a1a9 (diff) | |
download | gem5-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.isa | 2 |
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); } |