summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/sparc/ldx_stx.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/sparc/ldx_stx.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/sparc/ldx_stx.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/sparc/ldx_stx.s b/binutils-2.25/gas/testsuite/gas/sparc/ldx_stx.s
new file mode 100644
index 00000000..4e0c724c
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/sparc/ldx_stx.s
@@ -0,0 +1,8 @@
+# Test ldx/ldxa/stx/stxa
+ .text
+ ldx [%g3], %o0
+ ldxa [%g3] 0x04, %o2
+ ldx [%g3], %fsr
+ stx %o0, [%g3]
+ stxa %o2, [%g3] 0x04
+ stx %fsr, [%g3]