mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-05 10:57:57 +00:00
(membar): New testcase.
This commit is contained in:
parent
201bf50690
commit
66449f5b5e
@ -25,6 +25,8 @@ Things-to-keep:
|
||||
|
||||
asi.d
|
||||
asi.s
|
||||
membar.d
|
||||
membar.s
|
||||
sparc.exp
|
||||
|
||||
Things-to-lose:
|
||||
|
17
gas/testsuite/gas/sparc/membar.d
Normal file
17
gas/testsuite/gas/sparc/membar.d
Normal file
@ -0,0 +1,17 @@
|
||||
#objdump: -dr
|
||||
#name: sparc64 membar
|
||||
|
||||
.*: +file format .*sparc.*
|
||||
|
||||
No symbols in .*
|
||||
Disassembly of section .text:
|
||||
0+0000 membar 0
|
||||
0+0004 membar #Sync|#MemIssue|#Lookaside|#StoreStore|#LoadStore|#StoreLoad|#LoadLoad
|
||||
0+0008 membar #Sync|#MemIssue|#Lookaside|#StoreStore|#LoadStore|#StoreLoad|#LoadLoad
|
||||
0+000c membar #Sync
|
||||
0+0010 membar #MemIssue
|
||||
0+0014 membar #Lookaside
|
||||
0+0018 membar #StoreStore
|
||||
0+001c membar #LoadStore
|
||||
0+0020 membar #StoreLoad
|
||||
0+0024 membar #LoadLoad
|
12
gas/testsuite/gas/sparc/membar.s
Normal file
12
gas/testsuite/gas/sparc/membar.s
Normal file
@ -0,0 +1,12 @@
|
||||
# Test membar args
|
||||
.text
|
||||
membar 0
|
||||
membar 127
|
||||
membar #Sync|#MemIssue|#Lookaside|#StoreStore|#LoadStore|#StoreLoad|#LoadLoad
|
||||
membar #Sync
|
||||
membar #MemIssue
|
||||
membar #Lookaside
|
||||
membar #StoreStore
|
||||
membar #LoadStore
|
||||
membar #StoreLoad
|
||||
membar #LoadLoad
|
Loading…
Reference in New Issue
Block a user