diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2018-12-07 10:28:31 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-03-12 17:05:21 +0000 |
commit | d4f6e58fcbab1fa2df123e3849dd95f30400a896 (patch) | |
tree | dc63da617d6ddf108554dd379cc56a7b9014d080 /tests/tcg/cris/check_movei.s | |
parent | 6b970dd62cb67375f6267294d38798d9199e487b (diff) | |
download | qemu-d4f6e58fcbab1fa2df123e3849dd95f30400a896.zip qemu-d4f6e58fcbab1fa2df123e3849dd95f30400a896.tar.gz qemu-d4f6e58fcbab1fa2df123e3849dd95f30400a896.tar.bz2 |
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>
Diffstat (limited to 'tests/tcg/cris/check_movei.s')
-rw-r--r-- | tests/tcg/cris/check_movei.s | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/tcg/cris/check_movei.s b/tests/tcg/cris/check_movei.s deleted file mode 100644 index bbfa633..0000000 --- a/tests/tcg/cris/check_movei.s +++ /dev/null @@ -1,50 +0,0 @@ -# mach: crisv32 -# output: fffffffe\n -# output: fffffffe\n - -; Check basic integral-write semantics regarding flags. - - .include "testutils.inc" - start - - move.d 0, $r3 -; A write that works. Check that flags are set correspondingly. - move.d d,r4 - ;; store to bring it into the tlb with the right prot bits - move.d r3,[r4] - moveq -2,r5 - setf c - clearf p - move.d [r4],r3 - ax - move.d r5,[r4] - move.d [r4],r3 - - bcc 0f - nop - fail - -0: - checkr3 fffffffe - -; A write that fails; check flags too. - move.d d,r4 - moveq 23,r5 - setf p - clearf c - move.d [r4],r3 - ax - move.d r5,[r4] - move.d [r4],r3 - - bcs 0f - nop - fail - -0: - checkr3 fffffffe - quit - - .data -d: - .dword 42424242 |