repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
MC
/
AsmParser
/
hello.s
blob
2b62e0f008c7170dc6cd85878260fd08d5345b56
1
//
RUN
:
llvm-mc
-
triple i386-apple-darwin9
%
s
-
o
-
2
//
RUN
:
llvm-mc
-
triple i386-apple-darwin9
%
s
-
o
- -
output-asm-variant
=
1
3
4
.text
5
.align 4,0x90
6
.globl _main
7
_main
:
8
pushl
%
ebp
9
movl
%
esp
, %
ebp
10
subl $
8
, %
esp
11
call
"L1$pb"
12
"L1$pb"
:
13
popl
%
eax
14
movl $
0
, -
4
(%
ebp
)
15
movl
%
esp
, %
ecx
16
leal L_.str-
"L1$pb"
(%
eax
), %
eax
17
movl
%
eax
, (%
ecx
)
18
call _printf
19
movl $
0
, -
4
(%
ebp
)
20
movl
-
4
(%
ebp
), %
eax
21
addl $
8
, %
esp
22
popl
%
ebp
23
//
ret
24
.subsections_via_symbols
25
.cstring
26
L_.str
:
27
.asciz
"hello world!
\n
"
28