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
/
tools
/
llvm-objdump
/
ARM
/
disassemble-code-data-mix.s
blob
b0d5d7a53eae9102da9cd7d5daf96c7c453293c9
1
@RUN
:
llvm-mc
-
triple arm-unknown-linux
-
filetype
=
obj
%
s | llvm-objdump
-
d
-
| FileCheck
%
s
2
3
.cpu arm7tdmi
4
.global myInt
5
.data
6
.align 2
7
.type myInt, %object
8
.size myInt, 4
9
myInt
:
10
.word 1
11
.text
12
.align 2
13
.global main
14
.type main, %function
15
main
:
16
str fp
, [
sp
,
#-4]!
17
add
fp
,
sp
,
#0
18
ldr
r3
,
.L3
19
ldr
r3
, [
r3
]
20
mov
r0
,
r3
21
sub
sp
,
fp
,
#0
22
ldr fp
, [
sp
],
#4
23
bx
lr
24
.L4:
25
.align 2
26
.L3:
27
.word myInt
28
.size main, .-main
29
.global myStr
30
.type myStr, %object
31
myStr
:
32
.string
"test string"
33
34
35
@CHECK
:
.word 0x00000000
36
@CHECK-DAG
:
74 65 73 74 20 73 74 72
test str