binutils-gdb/sim/testsuite/cris/asm/bdapc.ms
Mike Frysinger 1368b914e9 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.
2021-01-15 19:18:34 -05:00

58 lines
902 B
Plaintext

# mach: crisv0 crisv3 crisv8 crisv10
# output: 4455aa77\n4455aa77\nee19ccff\n88ccee19\nff22\n4455aa77\nff224455\n55aa77ff\n
.include "testutils.inc"
.data
x:
.dword 0x55aa77ff
.dword 0xccff2244
.dword 0x88ccee19
.dword 0xb232765a
start
moveq -1,r0
moveq -1,r2
move.d x-32768,r5
move.d [r5+32769],r3
test_move_cc 0 0 0 0
dumpr3 ; 4455aa77
addu.w 32770,r5
bdap.w -1,r5
move.d [r0],r3
test_move_cc 0 0 0 0
dumpr3 ; 4455aa77
bdap.d 4,r5
move.d [r2+],r3
test_move_cc 1 0 0 0
dumpr3 ; ee19ccff
bdap.b 2,r2
move.d [r3],r3
test_move_cc 1 0 0 0
dumpr3 ; 88ccee19
bdap.b 3,r5
movu.w [r4+],r3
test_move_cc 0 0 0 0
dumpr3 ; ff22
bdap.b -4,r4
move.d [r6+],r3
test_move_cc 0 0 0 0
dumpr3 ; 4455aa77
bdap.w 2,r6
move.d [r3],r9
test_move_cc 1 0 0 0
dumpr3 ; ff224455
add.d 76789885,r5
bdap.d -76789887,r5
move.d [r3],r9
test_move_cc 0 0 0 0
dumpr3 ; 55aa77ff
quit