binutils-gdb/sim/testsuite/cris/asm/dip.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

42 lines
581 B
Plaintext

# mach: crisv0 crisv3 crisv8 crisv10
# output: 4455aa77\nee19ccff\nb232765a\nff22\n5a88ccee\n
.include "testutils.inc"
.data
x:
.dword 0x55aa77ff
.dword 0xccff2244
.dword 0x88ccee19
.dword 0xb232765a
y:
.dword x+12
.dword x+5
.dword x+9
start
moveq -1,r0
moveq -1,r2
move.d [x+1],r3
test_cc 0 0 0 0
dumpr3 ; 4455aa77
move.d [x+6],r3
test_cc 1 0 0 0
dumpr3 ; ee19ccff
move.d y,r8
move.d [[r8+]],r3
test_cc 1 0 0 0
dumpr3 ; b232765a
movu.w [[r8]],r3
test_cc 0 0 0 0
dumpr3 ; ff22
addq 4,r8
move.d [[r8]],r3
test_cc 0 0 0 0
dumpr3 ; 5a88ccee
quit