projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a19cb9
)
OP_TLBIE must in be instr_is_priv
author
Tobias Platen
<tplaten@posteo.de>
Sat, 13 Feb 2021 20:23:28 +0000
(21:23 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Sat, 13 Feb 2021 20:23:28 +0000
(21:23 +0100)
src/soc/decoder/power_decoder2.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/power_decoder2.py
b/src/soc/decoder/power_decoder2.py
index 883c91281339cf95407a9f2b9bd9f7e70530c001..f99160781a71ad47b3456211637ebd774fb4d856 100644
(file)
--- a/
src/soc/decoder/power_decoder2.py
+++ b/
src/soc/decoder/power_decoder2.py
@@
-48,8
+48,7
@@
def instr_is_priv(m, op, insn):
with m.Case(MicrOp.OP_ATTN, MicrOp.OP_MFMSR, MicrOp.OP_MTMSRD,
MicrOp.OP_MTMSR, MicrOp.OP_RFID):
comb += is_priv_insn.eq(1)
- # XXX TODO
- #with m.Case(MicrOp.OP_TLBIE) : comb += is_priv_insn.eq(1)
+ with m.Case(MicrOp.OP_TLBIE) : comb += is_priv_insn.eq(1)
with m.Case(MicrOp.OP_MFSPR, MicrOp.OP_MTSPR):
with m.If(insn[20]): # field XFX.spr[-1] i think
comb += is_priv_insn.eq(1)