QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
420 B
27 lines
420 B
#include "macros.inc"
|
|
|
|
test_suite boolean
|
|
|
|
#if XCHAL_HAVE_BOOLEANS
|
|
|
|
test all4
|
|
movi a2, 0xfec0
|
|
wsr a2, br
|
|
all4 b0, b0
|
|
rsr a3, br
|
|
assert eq, a2, a3
|
|
all4 b0, b4
|
|
rsr a3, br
|
|
assert eq, a2, a3
|
|
all4 b0, b8
|
|
rsr a3, br
|
|
assert eq, a2, a3
|
|
all4 b0, b12
|
|
rsr a3, br
|
|
addi a2, a2, 1
|
|
assert eq, a2, a3
|
|
test_end
|
|
|
|
#endif
|
|
|
|
test_suite_end
|
|
|