[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:18:36 BST 2023


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

--- Comment #20 from Andrey Miroshnikov <andrey at technepisteme.xyz> ---
(In reply to Luke Kenneth Casson Leighton from comment #19)
> > 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.

For some reason I find this pretty cool.
If I didn't copy a test that had several instructions, may not have stumbled
upon this so quickly.

> 
> 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.

Thanks, will do.

> 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.

Will keep in mind. Trying the standard way makes sense first.

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


More information about the libre-soc-bugs mailing list