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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Sep 13 22:13:11 BST 2023


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

--- Comment #19 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Andrey Miroshnikov from comment #18)

> At the start of the program I defined cia (pc) as 4, 

which will attempt to execute the *second* instruction in the
list, which of course you don't have.

you need to actually look at the trace output closely, and at caller.py
searching for log(...) and linking the two in your mind.

then you can follow what the simulator is actually doing.

you remember i said "you need to be very very patient" and you
replied "i don't think i can do that"?  sorry to have to repeat it:
you need to be very very patient. slow down, pay attention, and think
like a simulator.

the program unless told otherwise is loaded into "memory" location
0x0000_0000_0000_0000.

you *can* specify otherwise, but very few unit tests do that and i
haven't used the option to ISACaller in over a year, you'll have to
hunt for it yourself....

... or just don't try setting the start pc to 0x4, it is non-standard
for the unit tests anyway. doable but non-standard.

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


More information about the libre-soc-bugs mailing list