X86: Fix a bug in the chks microop where it ignored that it found a fault.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 19 Apr 2009 10:40:08 +0000 (03:40 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 19 Apr 2009 10:40:08 +0000 (03:40 -0700)
src/arch/x86/isa/microops/regop.isa

index f9bc8211999ae0c002f504c218c841626433a205..35227a4fb69f72727d7759d818a861e80a2ec7b1 100644 (file)
@@ -1112,6 +1112,7 @@ let {{
                 // Check permissions.
                 if (desc.dpl < m5reg.cpl) {
                     fault = new GeneralProtection(selector);
+                    break;
                 }
                 // Fall through on purpose
               case SegIntGateCheck: