tests/tcg/xtensa: add straightforward conditionals

Make tests for optional instruction groups conditional on the presence
of corresponding options in the config.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
Max Filippov 2019-02-18 06:40:38 -08:00
parent ecf5b57759
commit 50f0171a95
12 changed files with 52 additions and 0 deletions

View file

@ -2,6 +2,8 @@
test_suite quo
#if XCHAL_HAVE_DIV32
test quou_pp
movi a2, 0x5a5a137f
mov a3, a2
@ -144,4 +146,6 @@ test quos_exc
assert eq, a2, a3
test_end
#endif
test_suite_end