[Libre-soc-bugs] [Bug 982] Support PowerPC ABI in ISACaller

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Oct 18 02:20:04 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=982

--- Comment #94 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(please ignore this for now, will edit and correct)

--- a/src/openpower/decoder/power_enums.py
+++ b/src/openpower/decoder/power_enums.py
@@ -811,6 +811,7 @@ _insns = [
+    "sc", "scv",

that's odd. i must have not added sc/scv unit tests
to ISACaller. these should be added (into trap_cases.py)
as it is important to verify the pseudocode when in
equivalent of qemu-system mode (the default only option
up until this bugreport)

https://libre-soc.org/openpower/isa/system/

hmmm actually only the sc one. scv i expect to fail
with an undefined variable "vectored" (sigh)

the unit test will be like this:

https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/test/trap/trap_cases.py;h=1501b8ab#l62

except there must be a stop/check when PC=0xC00.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list