docs/system/gdb.rst: Add some more heading structure
[qemu/ar7.git] / tests / tcg / xtensa / test_boolean.S
blob5a850bfe7eac93baf2f76e4ab816a290ada595e7
1 #include "macros.inc"
3 test_suite boolean
5 #if XCHAL_HAVE_BOOLEANS
7 test all4
8     movi    a2, 0xfec0
9     wsr     a2, br
10     all4    b0, b0
11     rsr     a3, br
12     assert  eq, a2, a3
13     all4    b0, b4
14     rsr     a3, br
15     assert  eq, a2, a3
16     all4    b0, b8
17     rsr     a3, br
18     assert  eq, a2, a3
19     all4    b0, b12
20     rsr     a3, br
21     addi    a2, a2, 1
22     assert  eq, a2, a3
23 test_end
25 #endif
27 test_suite_end