1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-13 15:18:09 +00:00
Anton Blanchard 467630573c Dump CTR, LR and CR on sim termination, and update our tests
Right now our test cases fold the SPRs into the GPRs. That makes
debugging fails more difficult than it needs to be, so print
out the CTR, LR and CR.

We still need to print the XER, but that is in two spots in microwatt
and will take some more work.

This also adds many instructions to the tests that we have added
lately including overflow instructions, CR logicals and mt/mfxer.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-01-11 11:09:38 +11:00

38 lines
793 B
Plaintext

GPR0 000000000001C01F
GPR1 0000000000000000
GPR2 0000009AE81DCAA2
GPR3 000102AA064DDC85
GPR4 000000000001C01F
GPR5 0000000000000000
GPR6 FFFFFFFFFFFFFFF8
GPR7 0000000000000000
GPR8 000000005F89D575
GPR9 00000000026C0001
GPR10 0000026BA0772A8A
GPR11 0000026C00010000
GPR12 0000000000000000
GPR13 0000000000000000
GPR14 FFFFFFDF7E66FFE8
GPR15 0000000000000000
GPR16 FFFFFFFFFFFFFFFF
GPR17 FFFE7A71FF7EFFFF
GPR18 000000000001C01F
GPR19 0000000000000000
GPR20 000000000CC484FD
GPR21 00000000000009B9
GPR22 0000000000000000
GPR23 FFFFFFFFFFFF3FE0
GPR24 FFFFFFFF3D38FFBF
GPR25 00001A6D01A6D01A
GPR26 0000000000000000
GPR27 FFFFFFFFFFFE3FFC
GPR28 0000000000000000
GPR29 0000000000000000
GPR30 000000000000FD5D
GPR31
CR 000000003F89D575
LR 0000000000000000
CTR FC000000FFFFFFFF
XER 00000000C0080000