summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-11-08 23:50:10 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-11-08 23:50:10 -0800
commit6cfe4176f506ba0bdcb54a016da0d8063913e9c4 (patch)
tree4848f60115c8621f8feec8418abe1fdda937ae20
parent7c0076d5f3492d181b5b60fa13ac2c4f80821916 (diff)
downloadgem5-6cfe4176f506ba0bdcb54a016da0d8063913e9c4.tar.xz
Alpha: Fix a long standing bug where all code ran as PAL code in FS.
--HG-- extra : convert_revision : 654a2376a601ddf91665ca627403518911b32532
-rw-r--r--src/arch/alpha/predecoder.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/alpha/predecoder.hh b/src/arch/alpha/predecoder.hh
index 7a6bb3c02..725b35b9d 100644
--- a/src/arch/alpha/predecoder.hh
+++ b/src/arch/alpha/predecoder.hh
@@ -74,8 +74,7 @@ namespace AlphaISA
{
ext_inst = inst;
#if FULL_SYSTEM
- if (pc && 0x1)
- ext_inst|=(static_cast<ExtMachInst>(pc & 0x1) << 32);
+ ext_inst|=(static_cast<ExtMachInst>(pc & 0x1) << 32);
#endif
}