summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sparc/synth64.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/sparc/synth64.s')
-rw-r--r--gas/testsuite/gas/sparc/synth64.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/gas/testsuite/gas/sparc/synth64.s b/gas/testsuite/gas/sparc/synth64.s
new file mode 100644
index 00000000000..659f3c270ba
--- /dev/null
+++ b/gas/testsuite/gas/sparc/synth64.s
@@ -0,0 +1,16 @@
+# sparc64 synthetic insns
+ .text
+ iprefetch foo
+foo:
+ signx %g1,%g2
+ clruw %g1,%g2
+ cas [%g1],%g2,%g3
+ casl [%g1],%g2,%g3
+ casx [%g1],%g2,%g3
+ casxl [%g1],%g2,%g3
+
+ clrx [%g1+%g2]
+ clrx [%g1]
+ clrx [%g1+1]
+ clrx [42+%g1]
+ clrx [0x42]