summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sparc/membar.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/sparc/membar.d')
-rw-r--r--gas/testsuite/gas/sparc/membar.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/gas/sparc/membar.d b/gas/testsuite/gas/sparc/membar.d
new file mode 100644
index 00000000000..6ab6b2edb16
--- /dev/null
+++ b/gas/testsuite/gas/sparc/membar.d
@@ -0,0 +1,19 @@
+#as: -Av9
+#objdump: -dr
+#name: sparc64 membar
+
+.*: +file format .*sparc.*
+
+Disassembly of section .text:
+
+0+ <.text>:
+ 0: 81 43 e0 00 membar 0
+ 4: 81 43 e0 7f membar #Sync|#MemIssue|#Lookaside|#StoreStore|#LoadStore|#StoreLoad|#LoadLoad
+ 8: 81 43 e0 7f membar #Sync|#MemIssue|#Lookaside|#StoreStore|#LoadStore|#StoreLoad|#LoadLoad
+ c: 81 43 e0 40 membar #Sync
+ 10: 81 43 e0 20 membar #MemIssue
+ 14: 81 43 e0 10 membar #Lookaside
+ 18: 81 43 e0 08 membar #StoreStore
+ 1c: 81 43 e0 04 membar #LoadStore
+ 20: 81 43 e0 02 membar #StoreLoad
+ 24: 81 43 e0 01 membar #LoadLoad