X86: Fix the expected size of the immediate offset in MOV_MI.
[gem5.git] / src / arch / isa_specific.hh
index c241e5c6253d4c9171e6fc16f14640eb7a29f8e8..de070bbf9087af88ab941740dc11e14dc55ff184 100644 (file)
@@ -38,7 +38,7 @@
 //To use them, do something like:
 //
 //#if THE_ISA == YOUR_FAVORITE_ISA
-//     conditional_code
+//      conditional_code
 //#endif
 //
 //Note that this is how this file sets up the TheISA macro.
@@ -49,6 +49,7 @@
 #define SPARC_ISA 42
 #define MIPS_ISA 34000
 #define X86_ISA 8086
+#define ARM_ISA 6
 
 //These tell the preprocessor where to find the files of a particular
 //ISA, and set the "TheISA" macro for use elsewhere.
@@ -60,6 +61,8 @@
     #define TheISA MipsISA
 #elif THE_ISA == X86_ISA
     #define TheISA X86ISA
+#elif THE_ISA == ARM_ISA
+    #define TheISA ArmISA
 #else
     #error "THE_ISA not set"
 #endif