OSDN Git Service

Merge branch 'binutils' into tmp
[pf3gnuchains/pf3gnuchains4x.git] / gas / testsuite / gas / sparc / imm-plus-rreg.s
diff --git a/gas/testsuite/gas/sparc/imm-plus-rreg.s b/gas/testsuite/gas/sparc/imm-plus-rreg.s
new file mode 100644 (file)
index 0000000..c84e3e8
--- /dev/null
@@ -0,0 +1,7 @@
+! simm13 + regrs1 address using r<0..31> instead of [goli]<0..7>
+       .text
+foo:
+       ld      [10+%r8], %r1
+       ld      [10+%r18], %r2
+       st      %r2, [10+%r8]
+       st      %r1, [10+%r18]