mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +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.
31 lines
441 B
Plaintext
31 lines
441 B
Plaintext
# mach: crisv3 crisv8 crisv10
|
|
# output: aaeebb11\nde378218\n
|
|
|
|
# Test that the special case "X [pc+I],Y" works, where I byte-sized.
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
x:
|
|
; FIXME: Gas bugs are making this a bit harder than necessary.
|
|
; move.d [pc+y-(.+2)],r3
|
|
move.d [pc+8],r3
|
|
yy:
|
|
jump zz
|
|
|
|
y:
|
|
.dword 0xaaeebb11
|
|
y2:
|
|
.dword 0xde378218
|
|
|
|
zz:
|
|
dumpr3
|
|
jump z
|
|
quit
|
|
|
|
; Check a negative offset.
|
|
.space 50
|
|
z:
|
|
move.d [pc+y2-(.+2)],r3
|
|
dumpr3
|
|
quit
|