fix se compiling oops
authorAli Saidi <saidi@eecs.umich.edu>
Thu, 22 Feb 2007 06:11:04 +0000 (01:11 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Thu, 22 Feb 2007 06:11:04 +0000 (01:11 -0500)
--HG--
extra : convert_revision : ce7ac94da0ed6bad457a8a9e4c949b0c3b09c2ae

src/arch/sparc/isa/decoder.isa

index e2d1707dd12a92ca52fd5d5c790c478be6caa0f7..3684cda69441d0e4049652569e73106cc784afb6 100644 (file)
@@ -1009,6 +1009,7 @@ decode OP default Unknown::unknown()
                 0x80: Trap::shutdown({{fault = new IllegalInstruction;}});
                 0x81: FailUnimpl::siam();
             }
+#if FULL_SYSTEM
             // M5 special opcodes use the reserved IMPDEP2A opcode space
             0x37: decode M5FUNC {
                 // we have 7 bits of space here to play with...
@@ -1019,6 +1020,9 @@ decode OP default Unknown::unknown()
                               }}, No_OpClass, IsNonSpeculative);
 
             }
+#else
+            0x37: Trap::impdep2({{fault = new IllegalInstruction;}});
+#endif
             0x38: Branch::jmpl({{
                 Addr target = Rs1 + Rs2_or_imm13;
                 if(target & 0x3)