arm: Clean up and document decoder API
[gem5.git] / src / arch / x86 / isa_traits.hh
index a9e274eccb522620f23e35406e5ed98a83b6f6b0..f4fdb59e546f4b50b78e7942d791b3dce91c44bf 100644 (file)
@@ -71,7 +71,7 @@ namespace X86ISA
     const ExtMachInst NoopMachInst = {
         0x0,                            // No legacy prefixes.
         0x0,                            // No rex prefix.
-        { 1, 0x0, 0x0, 0x90 },          // One opcode byte, 0x90.
+        { OneByteOpcode, 0x90 },          // One opcode byte, 0x90.
         0x0, 0x0,                       // No modrm or sib.
         0, 0,                           // No immediate or displacement.
         8, 8, 8,                        // All sizes are 8.