summaryrefslogtreecommitdiffstats
path: root/asm-tests/sparc64.S
diff options
context:
space:
mode:
Diffstat (limited to 'asm-tests/sparc64.S')
-rw-r--r--asm-tests/sparc64.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/asm-tests/sparc64.S b/asm-tests/sparc64.S
new file mode 100644
index 0000000..03c5fe0
--- /dev/null
+++ b/asm-tests/sparc64.S
@@ -0,0 +1,9 @@
+ .text
+1:
+ /* A small list of examples of what clang doesn't support. */
+ clr %o0
+ lduw [%o4 + 4], %o4
+ and %o6, ~0xff, %o6
+ stw %o5, [%o3]
+ bne,pt %icc, 1b
+ nop