summaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/ls-ldw.S
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/d30v-elf/ls-ldw.S')
-rw-r--r--sim/testsuite/d30v-elf/ls-ldw.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/ls-ldw.S b/sim/testsuite/d30v-elf/ls-ldw.S
new file mode 100644
index 00000000000..78d2ebfdaab
--- /dev/null
+++ b/sim/testsuite/d30v-elf/ls-ldw.S
@@ -0,0 +1,11 @@
+ # load the 47@addr=60 below into r2
+ add r3, r0, 4 || nop
+ ldw r2, @(r3,60)
+ .long 0x0e000004, 0x00f00000
+ .long 0, 0
+ .long 0, 0
+ .long 0, 0
+ .long 0, 0
+ .long 0, 0
+# address 64 - remember target is BE
+ .byte 0, 0, 0, 47