Test which flags make our asm compile.
Previously we relied on assumption that clang always needs -no-integrated-as but it's not always true.
This commit is contained in:
parent
0b02bfa034
commit
065ad910f1
6 changed files with 89 additions and 27 deletions
9
asm-tests/sparc64.S
Normal file
9
asm-tests/sparc64.S
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue