summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/sbr-reloc-local-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-tic6x/sbr-reloc-local-2.s')
-rw-r--r--ld/testsuite/ld-tic6x/sbr-reloc-local-2.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/sbr-reloc-local-2.s b/ld/testsuite/ld-tic6x/sbr-reloc-local-2.s
new file mode 100644
index 0000000..2ced424
--- /dev/null
+++ b/ld/testsuite/ld-tic6x/sbr-reloc-local-2.s
@@ -0,0 +1,24 @@
+.text
+.nocmp
+ ldw .D2T2 *+b14(e),b1
+ ldw .D2T2 *+b14(f),b1
+ ldh .D2T2 *+b14(f),b1
+ ldh .D2T2 *+b14(g),b1
+ ldb .D2T2 *+b14(g),b1
+ ldb .D2T2 *+b14(h),b1
+ mvk .S1 $dpr_byte(h),a1
+ mvkl .S1 $dpr_byte(g),a1
+ mvkh .S1 $dpr_byte(h),a1
+ mvkl .S1 $dpr_hword(f),a1
+ mvkh .S1 $dpr_hword(g),a1
+ mvkl .S1 $dpr_word(e),a1
+ mvkh .S1 $dpr_word(f),a1
+.data
+e:
+ .word 0
+f:
+ .short 0
+g:
+ .byte 0
+h:
+ .byte 0