projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1543c3d
)
Arg!
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 31 Oct 2006 23:59:50 +0000
(18:59 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 31 Oct 2006 23:59:50 +0000
(18:59 -0500)
--HG--
extra : convert_revision :
8328d002780c0291e7eb264076a62084de88b7a5
src/arch/alpha/isa/decoder.isa
patch
|
blob
|
history
diff --git
a/src/arch/alpha/isa/decoder.isa
b/src/arch/alpha/isa/decoder.isa
index 584d64a3da195fab8358c05678f517585166dba1..f5483d9c0c260d6f14fcb03a6a3556b15eed2b69 100644
(file)
--- 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