[libre-riscv-dev] [Bug 325] create POWER9 TRAP pipeline
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Jun 5 16:12:47 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=325
--- Comment #47 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
this is going to be a mess.
mtmsr pseudocode:
if L = 0 then
MSR48 <- (RS)48 | (RS)49
MSR58 <- ((RS)58 | (RS)49)
& ¬(MSR41 & MSR3 & (¬(RS)49))
MSR59 <- ((RS)59 | (RS)49)
& ¬(MSR41 & MSR3 & (¬(RS)49))
MSR32:40 42:47 49:50 52:57 60:62
(RS)32:40 42:47 49:50 52:57 60:62
else:
MSR48 62 <- (RS)48 62
i forgot to add the pseudocode from mtmsr and mfmsr to the isa markdown
files. the above is note-form from the 3.0B PDF
mfmsr:
RT <- MSR
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list