changeset 8c1aa74572e4 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=8c1aa74572e4
description:
        Quell g++ 4.3 warning about operator ambiguity

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/arch/x86/isa/microops/regop.isa |    2 +-

diffs (12 lines):

diff -r 68c52fee5a53 -r 8c1aa74572e4 src/arch/x86/isa/microops/regop.isa
--- a/src/arch/x86/isa/microops/regop.isa       Wed Feb 04 16:26:15 2009 -0800
+++ b/src/arch/x86/isa/microops/regop.isa       Fri Feb 06 20:55:50 2009 -0800
@@ -1074,7 +1074,7 @@
                 // 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);
                 }
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to