diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-12 19:11:38 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-12 19:11:38 -0400 |
commit | b5cf61efad0acab998b17623ebb00f67cb1f6d50 (patch) | |
tree | 5ede96af278766fe300c6c182937ded4eb13ceef | |
parent | 6152e8abc3a120efd6c7a86d4299643b5c82b6b1 (diff) | |
download | gem5-b5cf61efad0acab998b17623ebb00f67cb1f6d50.tar.xz |
Fixes for checker. The RC/RS instructions check the interrupt flag, which isn't verifiable by the checker.
src/arch/alpha/isa/decoder.isa:
src/cpu/checker/cpu.cc:
Fixes for checker.
--HG--
extra : convert_revision : b0ec8f3c4a10453a567cd6691283fc498403795e
-rw-r--r-- | src/arch/alpha/isa/decoder.isa | 4 | ||||
-rw-r--r-- | src/cpu/checker/cpu.cc | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/alpha/isa/decoder.isa b/src/arch/alpha/isa/decoder.isa index fab2ca2e1..dd29e47e4 100644 --- a/src/arch/alpha/isa/decoder.isa +++ b/src/arch/alpha/isa/decoder.isa @@ -659,11 +659,11 @@ decode OPCODE default Unknown::unknown() { 0xe000: rc({{ Ra = xc->readIntrFlag(); xc->setIntrFlag(0); - }}, IsNonSpeculative); + }}, IsNonSpeculative, IsUnverifiable); 0xf000: rs({{ Ra = xc->readIntrFlag(); xc->setIntrFlag(1); - }}, IsNonSpeculative); + }}, IsNonSpeculative, IsUnverifiable); } #else format FailUnimpl { diff --git a/src/cpu/checker/cpu.cc b/src/cpu/checker/cpu.cc index ebc02f7be..b1167c1d8 100644 --- a/src/cpu/checker/cpu.cc +++ b/src/cpu/checker/cpu.cc @@ -84,6 +84,8 @@ CheckerCPU::CheckerCPU(Params *p) #else process = p->process; #endif + + result.integer = 0; } CheckerCPU::~CheckerCPU() |