From 1368b914e93a3af332f787d3d41c106d11bb90da Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 5 Jan 2021 22:09:57 -0500 Subject: sim: testsuite: flatten tree Now that all port tests live under testsuite/sim/*/, and none live in testsuite/ directly, flatten the structure by moving all of the dirs under testsuite/sim/ to testsuite/ directly. We need to stop passing --tool to dejagnu so that it searches all dirs and not just ones that start with "sim". Since we have no other dirs in this tree, and no plans to add any, should be fine. --- sim/testsuite/cris/asm/xor.ms | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sim/testsuite/cris/asm/xor.ms (limited to 'sim/testsuite/cris/asm/xor.ms') diff --git a/sim/testsuite/cris/asm/xor.ms b/sim/testsuite/cris/asm/xor.ms new file mode 100644 index 00000000000..2095dea8b82 --- /dev/null +++ b/sim/testsuite/cris/asm/xor.ms @@ -0,0 +1,47 @@ +# mach: crisv0 crisv3 crisv8 crisv10 crisv32 +# output: 3\n3\nff0\n0\n2c21b3db\n0\nffffffff\n + + .include "testutils.inc" + start + moveq 1,r3 + moveq 2,r4 + xor r4,r3 + test_move_cc 0 0 0 0 + dumpr3 ; 3 + + moveq 2,r3 + moveq 1,r4 + xor r4,r3 + test_move_cc 0 0 0 0 + dumpr3 ; 3 + + move.d 0xff0f,r4 + move.d 0xf0ff,r3 + xor r4,r3 + test_move_cc 0 0 0 0 + dumpr3 ; ff0 + + moveq -1,r4 + move.d r4,r3 + xor r4,r3 + test_move_cc 0 1 0 0 + dumpr3 ; 0 + + move.d 0x5432f789,r4 + move.d 0x78134452,r3 + xor r4,r3 + test_move_cc 0 0 0 0 + dumpr3 ; 2c21b3db + + moveq 0,r4 + moveq 0,r3 + xor r4,r3 + test_move_cc 0 1 0 0 + dumpr3 ; 0 + + move.d 0x7fffffff,r3 + move.d 0x80000000,r4 + xor r4,r3 + test_move_cc 1 0 0 0 + dumpr3 ; ffffffff + quit -- cgit v1.2.1