mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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:
parent
ecf5b57759
commit
50f0171a95
12 changed files with 52 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
test_suite loop
|
||||
|
||||
#if XCHAL_HAVE_LOOPS
|
||||
|
||||
test loop
|
||||
movi a2, 0
|
||||
movi a3, 5
|
||||
|
@ -160,4 +162,6 @@ test loopgtz
|
|||
1:
|
||||
test_end
|
||||
|
||||
#endif
|
||||
|
||||
test_suite_end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue