[libre-riscv-dev] [Bug 368] Need one example unit test of how to run some assembly code "qemu vs simulator" rather than "qemu vs hardware"

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jun 7 23:47:59 BST 2020


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

--- Comment #3 from Michael Nolan <mtnolan2640 at gmail.com> ---
We could also do what I did originally. It's not particularly elegant, but at
the end of a program where I wanted to check CR, I manually added a mfcr
$some_register to the end. It won't allow us to check everything in lockstep,
but it will let us verify that the two simulators produce the same results for
a given program.

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


More information about the libre-riscv-dev mailing list