mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
1368b914e9
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.
80 lines
1.0 KiB
Plaintext
80 lines
1.0 KiB
Plaintext
# mach: crisv3 crisv8 crisv10 crisv32
|
|
# output: 12345678\n10234567\n12345678\n12344567\n12344523\n76543210\nffffffaa\naa\n9911\nffff9911\n78\n56\n3456\n6712\n
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
.data
|
|
mem1:
|
|
.dword 0x12345678
|
|
mem2:
|
|
.word 0x4567
|
|
mem3:
|
|
.byte 0x23
|
|
.dword 0x76543210
|
|
.byte 0xaa,0x11,0x99
|
|
|
|
.text
|
|
move.d mem1,r2
|
|
move.d [r2],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
move.d mem2,r3
|
|
move.d [r3],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
move.d mem1,r2
|
|
move.d [r2+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
move.w [r2+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
move.b [r2+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
move.d [r2+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
movs.b [r2],r3
|
|
test_move_cc 1 0 0 0
|
|
dumpr3
|
|
|
|
movu.b [r2+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
movu.w [r2],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
movs.w [r2+],r3
|
|
test_move_cc 1 0 0 0
|
|
dumpr3
|
|
|
|
move.d mem1,r13
|
|
movs.b [r13+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
movu.b [r13],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
movs.w [r13+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
movu.w [r13+],r3
|
|
test_move_cc 0 0 0 0
|
|
dumpr3
|
|
|
|
quit
|
|
|