Forgot to change the index.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 31 Oct 2006 21:18:54 +0000 (16:18 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 31 Oct 2006 21:18:54 +0000 (16:18 -0500)
--HG--
extra : convert_revision : 5a444e635d20bcca445a10e43592b6c10d25e879

src/arch/alpha/isa/decoder.isa

index 852f483e0526ec9feb7203221144166af6cf5df2..0cbe38cebbaf718d2e4bc67c416c690bbde11b45 100644 (file)
@@ -751,7 +751,7 @@ decode OPCODE default Unknown::unknown() {
                      miscRegIndex <= MaxWriteOnlyIpr))
                         fault = new UnimplementedOpcodeFault;
                 else
-                    Ra = xc->readMiscRegWithEffect(ipr_index, fault);
+                    Ra = xc->readMiscRegWithEffect(miscRegIndex, fault);
             }}, IsIprAccess);
         }
     }
@@ -766,7 +766,7 @@ decode OPCODE default Unknown::unknown() {
                      miscRegIndex <= MaxWriteOnlyIpr))
                         fault = new UnimplementedOpcodeFault;
                 else
-                    xc->setMiscRegWithEffect(ipr_index, Ra);
+                    xc->setMiscRegWithEffect(miscRegIndex, Ra);
                 if (traceData) { traceData->setData(Ra); }
             }}, IsIprAccess);
         }