repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
MC
/
AsmParser
/
directive_values.s
blob
6c79c38bf56901ac2a3a1bc593cdc8ce8e91d2fb
1
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3
# CHECK: TEST0:
4
# CHECK: .byte 0
5
TEST0
:
6
.byte 0
7
8
# CHECK: TEST1:
9
# CHECK: .short 3
10
TEST1
:
11
.short 3
12
13
# CHECK: TEST2:
14
# CHECK: .long 8
15
TEST2
:
16
.long 8
17
18
# CHECK: TEST3:
19
# CHECK: .quad 9
20
TEST3
:
21
.quad 9
22
23
24
# rdar://7997827
25
TEST4
:
26
.quad 0b0100
27
.quad 4294967295
28
.quad 4294967295+1
29
.quad 4294967295LL+1
30
.quad 0b10LL + 07ULL + 0x42AULL
31
# CHECK: TEST4
32
# CHECK: .quad 4
33
# CHECK: .quad 4294967295
34
# CHECK: .quad 4294967296
35
# CHECK: .quad 4294967296
36
# CHECK: .quad 1075
37
38
39
TEST5
:
40
.value 8
41
# CHECK: TEST5:
42
# CHECK: .short 8
43
44
TEST6
:
45
.byte
'c'
46
.byte
'
\'
'
47
.byte
'
\\
'
48
.byte
'\#'
49
.byte
'
\t
'
50
.byte
'
\n
'
51
52
# CHECK: TEST6
53
# CHECK: .byte 99
54
# CHECK: .byte 39
55
# CHECK: .byte 92
56
# CHECK: .byte 35
57
# CHECK: .byte 9
58
# CHECK: .byte 10
59
60
TEST7
:
61
.byte 1, 2, 3, 4
62
# CHECK: .byte 1
63
# CHECK-NEXT: .byte 2
64
# CHECK-NEXT: .byte 3
65
# CHECK-NEXT: .byte 4