qemu/tests/tcg/cris/bare/check_movprv32.s
Alex Bennée d4f6e58fcb tests/tcg: split cris tests into bare and libc directories
Bare tests are standalone assembly tests that don't require linking to
any libc and hence can be built with kernel only compilers. The libc
tests need a compiler capable of building properly linked userspace
binaries. As we don't have such a cross compiler at the moment we
won't be building those tests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2019-03-12 17:05:21 +00:00

22 lines
332 B
ArmAsm

# mach: crisv32
# output: ffffff20\nbb113344\n
# Test v32-specific special registers. FIXME: more registers.
.include "testutils.inc"
start
moveq -1,r3
setf zcvn
move vr,r3
test_cc 1 1 1 1
checkr3 ffffff20
moveq -1,r3
move.d 0xbb113344,r4
clearf cvnz
move r4,mof
test_cc 0 0 0 0
move mof,r3
checkr3 bb113344
quit