repo.or.cz
/
qemu
/
armbru.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
target/i386: Inline cmpxchg16b
[qemu/armbru.git]
/
tests
/
tcg
/
xtensa
/
test_boolean.S
blob
5a850bfe7eac93baf2f76e4ab816a290ada595e7
1
#include "macros.inc"
2
3
test_suite boolean
4
5
#if XCHAL_HAVE_BOOLEANS
6
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
24
25
#endif
26
27
test_suite_end