Add a new misc test suite with addpcis tests
authorShawn Anastasio <shawn@anastas.io>
Tue, 26 May 2020 01:08:59 +0000 (20:08 -0500)
committerShawn Anastasio <shawn@anastas.io>
Tue, 26 May 2020 04:49:42 +0000 (23:49 -0500)
commit8b161c6dc6070f186cfe6ccd23466ff448d03c5b
treea226624a2f1a8d5d74a2fa09fed3d54a1555043d
parente606772aeb177c67d4c08b42ba79ef196906e1d7
Add a new misc test suite with addpcis tests

The two tests obtain NIA with bl+mflr+addi and then compare it
against addpcis with the minimum and maximum immediate operand values.

They were also tested on a real POWER9 system (in userspace) for good
measure.

Signed-off-by: Shawn Anastasio <shawn@anastas.io>
tests/misc/Makefile [new file with mode: 0644]
tests/misc/head.S [new file with mode: 0644]
tests/misc/misc.c [new file with mode: 0644]
tests/misc/powerpc.lds [new file with mode: 0644]
tests/test_misc.bin [new file with mode: 0755]
tests/test_misc.console_out [new file with mode: 0644]
tests/update_console_tests