aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/ls-ld2w.S
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/d30v-elf/ls-ld2w.S')
-rw-r--r--sim/testsuite/d30v-elf/ls-ld2w.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/ls-ld2w.S b/sim/testsuite/d30v-elf/ls-ld2w.S
new file mode 100644
index 0000000..5b564cc
--- /dev/null
+++ b/sim/testsuite/d30v-elf/ls-ld2w.S
@@ -0,0 +1,12 @@
+ # compute 17(mem) + 30(mem+4) = 47
+ add r3, r0, 4 || nop
+ ld2w r2, @(r3,60)
+ add r2, r2, r3 || nop
+ .long 0x0e000004, 0x00f00000
+ .long 0, 0
+ .long 0, 0
+ .long 0, 0
+ .long -1, -1
+# address 64 - remember target is BE
+ .byte 0, 0, 0, 17
+ .byte 0, 0, 0, 30