diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-11-03 04:25:33 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-11-03 04:25:33 -0500 |
commit | 118b9dc1f9e84a12ea26743f6cec1eac5b4ab13a (patch) | |
tree | 7eb447e419acb3607d7922453b3713696e05acf4 /src/cpu/o3/alpha/dyn_inst_impl.hh | |
parent | c8fc116c7636893517254f785707eba1726d3265 (diff) | |
download | gem5-118b9dc1f9e84a12ea26743f6cec1eac5b4ab13a.tar.xz |
Got rid of "inPalMode". Some places are still effectively checking if they are in PAL mode, however.
--HG--
extra : convert_revision : b52d9642efc474eaf97437fa2df879efefa0062b
Diffstat (limited to 'src/cpu/o3/alpha/dyn_inst_impl.hh')
-rw-r--r-- | src/cpu/o3/alpha/dyn_inst_impl.hh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/cpu/o3/alpha/dyn_inst_impl.hh b/src/cpu/o3/alpha/dyn_inst_impl.hh index f27cd5961..6fc548a85 100644 --- a/src/cpu/o3/alpha/dyn_inst_impl.hh +++ b/src/cpu/o3/alpha/dyn_inst_impl.hh @@ -113,7 +113,7 @@ Fault AlphaDynInst<Impl>::hwrei() { // Can only do a hwrei when in pal mode. - if (!this->cpu->inPalMode(this->readPC())) + if (!(this->readPC() & 0x3)) return new AlphaISA::UnimplementedOpcodeFault; // Set the next PC based on the value of the EXC_ADDR IPR. @@ -128,13 +128,6 @@ AlphaDynInst<Impl>::hwrei() } template <class Impl> -bool -AlphaDynInst<Impl>::inPalMode() -{ - return this->cpu->inPalMode(this->PC); -} - -template <class Impl> void AlphaDynInst<Impl>::trap(Fault fault) { |