tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test
commit647aee9ba2f708f1533977189c3db4dcccc21d95
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 29 Nov 2018 18:51:13 +0000 (29 18:51 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Mar 2019 17:05:21 +0000 (12 17:05 +0000)
tree928302813f4709f55c2c8ee631e617f07d38cbe9
parentbe5cac175aaff7776fb4825c288b4fe8cbc1dc44
tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test

Test that 32-bit instructions declared UNDEFINED in the ARMv6-M
Reference Manual really do raise an exception.  Also test that the 6
32-bit instructions defined in the ARMv6-M Reference Manual do not raise
an exception.

Based-on: <20181029194519.15628-1-stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20181129185113.30353-1-stefanha@redhat.com>
[AJB: integrated into system tests]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/tcg/arm/Makefile.softmmu-target [new file with mode: 0644]
tests/tcg/arm/test-armv6m-undef.S [new file with mode: 0644]
tests/tcg/arm/test-armv6m-undef.ld [new file with mode: 0644]