projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e8f840
)
forward mmu sprs
author
Tobias Platen
<tplaten@posteo.de>
Tue, 9 Nov 2021 17:12:45 +0000
(18:12 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Tue, 9 Nov 2021 17:12:45 +0000
(18:12 +0100)
src/openpower/decoder/power_decoder2.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/power_decoder2.py
b/src/openpower/decoder/power_decoder2.py
index 6db5c61511a79a22b6f0eccc570c9018a434d32e..edf2893b3dec4749822db7d926efb4eaa0eea9b2 100644
(file)
--- a/
src/openpower/decoder/power_decoder2.py
+++ b/
src/openpower/decoder/power_decoder2.py
@@
-942,8
+942,8
@@
class PowerDecodeSubset(Elaboratable):
(spr == SPR.PIDR.value))
# MMU must receive MMU SPRs
with m.If(is_spr_mv & (fn == Function.SPR) & is_mmu_spr):
- comb += self.do_copy("fn_unit", Function.
NONE
)
- comb += self.do_copy("insn_type",
MicrOp.OP_ILLEGAL
)
+ comb += self.do_copy("fn_unit", Function.
MMU
)
+ comb += self.do_copy("insn_type",
internal_op
)
# SPR pipe must *not* receive MMU SPRs
with m.Elif(is_spr_mv & (fn == Function.MMU) & ~is_mmu_spr):
comb += self.do_copy("fn_unit", Function.NONE)