summaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/ls-ld4bhu.S
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/d30v-elf/ls-ld4bhu.S')
-rw-r--r--sim/testsuite/d30v-elf/ls-ld4bhu.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/ls-ld4bhu.S b/sim/testsuite/d30v-elf/ls-ld4bhu.S
new file mode 100644
index 00000000000..4d0a9a37eb2
--- /dev/null
+++ b/sim/testsuite/d30v-elf/ls-ld4bhu.S
@@ -0,0 +1,11 @@
+ # compute lo : 48(mem+1) + 255(mem+3) - 256 = 47
+ add r3, r0, 4 || nop
+ ld4bhu r2, @(r3,60)
+ add r2, r2, r3 || nop
+ sub r2, r2, 0x100
+ .long 0x0e000004, 0x00f00000
+ .long 0, 0
+ .long 0, 0
+ .long -1, -1
+# address 64 - remember target is BE
+ .byte 0, 48, 0, 255