diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-11-02 13:11:38 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-11-02 13:11:38 -0500 |
commit | ccaf80cc46fb86639ab5ee166baca08277f5450f (patch) | |
tree | ca8ebf28f3092a5f5d06748b31a8dda66d106ee3 /src/arch/alpha/utility.hh | |
parent | f763864786d7b95d46fba6f37e1e9ed601b60733 (diff) | |
download | gem5-ccaf80cc46fb86639ab5ee166baca08277f5450f.tar.xz |
Use ISA specific makeExtMI.
src/arch/alpha/utility.hh:
For now makeExtMI will be specific to the ISA.
--HG--
extra : convert_revision : 89959c6499efcc3df9301ad8ea039580764a1496
Diffstat (limited to 'src/arch/alpha/utility.hh')
-rw-r--r-- | src/arch/alpha/utility.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/alpha/utility.hh b/src/arch/alpha/utility.hh index 0304d1c3a..cb86c7e9e 100644 --- a/src/arch/alpha/utility.hh +++ b/src/arch/alpha/utility.hh @@ -43,11 +43,11 @@ namespace AlphaISA { static inline ExtMachInst - makeExtMI(MachInst inst, ThreadContext * xc) { + makeExtMI(MachInst inst, Addr pc) { #if FULL_SYSTEM ExtMachInst ext_inst = inst; - if (xc->readPC() && 0x1) - return ext_inst|=(static_cast<ExtMachInst>(xc->readPC() & 0x1) << 32); + if (pc && 0x1) + return ext_inst|=(static_cast<ExtMachInst>(pc & 0x1) << 32); else return ext_inst; #else |