diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-12-08 10:55:33 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-12-08 10:55:33 -0800 |
commit | 5a895ab92ce072c2b416267f171d67360dc63e4d (patch) | |
tree | c974bf85285d34928787b2968a00a46811230467 /src/arch/alpha/isa/decoder.isa | |
parent | f26051eb1a5b8f3522acbb871133de66278fd517 (diff) | |
download | gem5-5a895ab92ce072c2b416267f171d67360dc63e4d.tar.xz |
Alpha: Take advantage of new PCState syntax.
Diffstat (limited to 'src/arch/alpha/isa/decoder.isa')
-rw-r--r-- | src/arch/alpha/isa/decoder.isa | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/arch/alpha/isa/decoder.isa b/src/arch/alpha/isa/decoder.isa index 937b38fce..36458a047 100644 --- a/src/arch/alpha/isa/decoder.isa +++ b/src/arch/alpha/isa/decoder.isa @@ -850,10 +850,8 @@ decode OPCODE default Unknown::unknown() { bool dopal = xc->simPalCheck(palFunc); if (dopal) { - PCState pc = PCS; - xc->setMiscReg(IPR_EXC_ADDR, pc.npc()); - pc.npc(xc->readMiscReg(IPR_PAL_BASE) + palOffset); - PCS = pc; + xc->setMiscReg(IPR_EXC_ADDR, NPC); + NPC = xc->readMiscReg(IPR_PAL_BASE) + palOffset; } } }}, IsNonSpeculative); @@ -1019,14 +1017,13 @@ decode OPCODE default Unknown::unknown() { }}, IsNonSpeculative); #endif 0x54: m5panic({{ - panic("M5 panic instruction called at pc=%#x.", - xc->pcState().pc()); + panic("M5 panic instruction called at pc = %#x.", PC); }}, IsNonSpeculative); #define CPANN(lbl) CPA::cpa()->lbl(xc->tcBase()) 0x55: decode RA { 0x00: m5a_old({{ - panic("Deprecated M5 annotate instruction executed at pc=%#x\n", - xc->pcState().pc()); + panic("Deprecated M5 annotate instruction executed " + "at pc = %#x\n", PC); }}, IsNonSpeculative); 0x01: m5a_bsm({{ CPANN(swSmBegin); |