qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

tests/tcg/xtensa: enable boolean tests

Uncomment test_boolean in the test makefile. Make actual tests code
conditional on the presence of boolean option in the config.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+5 -1
+1 -1
tests/tcg/xtensa/Makefile
··· 31 31 32 32 TESTCASES += test_b.tst 33 33 TESTCASES += test_bi.tst 34 - #TESTCASES += test_boolean.tst 34 + TESTCASES += test_boolean.tst 35 35 TESTCASES += test_break.tst 36 36 TESTCASES += test_bz.tst 37 37 TESTCASES += test_cache.tst
+4
tests/tcg/xtensa/test_boolean.S
··· 2 2 3 3 test_suite boolean 4 4 5 + #if XCHAL_HAVE_BOOLEANS 6 + 5 7 test all4 6 8 movi a2, 0xfec0 7 9 wsr a2, br ··· 19 21 addi a2, a2, 1 20 22 assert eq, a2, a3 21 23 test_end 24 + 25 + #endif 22 26 23 27 test_suite_end