root / tests / tcg / xtensa / test_boolean.S @ c09015dd
History | View | Annotate | Download (387 Bytes)
1 |
.include "macros.inc" |
---|---|
2 |
|
3 |
test_suite boolean |
4 |
|
5 |
test all4 |
6 |
movi a2, 0xfec0 |
7 |
wsr a2, br |
8 |
all4 b0, b0 |
9 |
rsr a3, br |
10 |
assert eq, a2, a3 |
11 |
all4 b0, b4 |
12 |
rsr a3, br |
13 |
assert eq, a2, a3 |
14 |
all4 b0, b8 |
15 |
rsr a3, br |
16 |
assert eq, a2, a3 |
17 |
all4 b0, b12 |
18 |
rsr a3, br |
19 |
addi a2, a2, 1 |
20 |
assert eq, a2, a3 |
21 |
test_end |
22 |
|
23 |
test_suite_end |