tests/misc: Add a test for correct CTR and LR updating by branches
authorPaul Mackerras <paulus@ozlabs.org>
Tue, 24 Nov 2020 01:00:48 +0000 (12:00 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 24 Nov 2020 01:00:48 +0000 (12:00 +1100)
commit29fabeb12ec90dc0278957441688951f87ed7936
tree7caa764c8d689e4a2d28709856ae9fb9c1803c9c
parente49192cb5bbaf259aa66268a46fb1c6da9a54b59
tests/misc: Add a test for correct CTR and LR updating by branches

This adds a test with a bdnzl followed immediately by a bdnz, to check
that CTR and LR both get evaluated and written back correctly in this
situation.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
tests/misc/head.S
tests/misc/misc.c
tests/test_misc.bin
tests/test_misc.console_out