diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-10-31 18:59:50 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-10-31 18:59:50 -0500 |
commit | f3ba6d20f6070c30418866e627e2418f39b433dd (patch) | |
tree | 8e2ec000d30992d3d7165eaba8d16d26b0340e4b | |
parent | 1543c3d0a11d77ac82658fdace755a0967d32cbb (diff) | |
download | gem5-f3ba6d20f6070c30418866e627e2418f39b433dd.tar.xz |
Arg!
--HG--
extra : convert_revision : 8328d002780c0291e7eb264076a62084de88b7a5
-rw-r--r-- | src/arch/alpha/isa/decoder.isa | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/alpha/isa/decoder.isa b/src/arch/alpha/isa/decoder.isa index 584d64a3d..f5483d9c0 100644 --- a/src/arch/alpha/isa/decoder.isa +++ b/src/arch/alpha/isa/decoder.isa @@ -762,7 +762,7 @@ decode OPCODE default Unknown::unknown() { 1: hw_mtpr({{ int miscRegIndex = (ipr_index < NumInternalProcRegs) ? IprToMiscRegIndex[ipr_index] : -1; - if(miscRegIndex < 0 || !IprIsWritable(miscRegIndex) + if(miscRegIndex < 0 || !IprIsWritable(miscRegIndex) || miscRegIndex >= NumInternalProcRegs) fault = new UnimplementedOpcodeFault; else |