directive_dc.s
703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# RUN: not llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
# RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 > /dev/null| FileCheck %s --check-prefix=CHECK-ERROR
# CHECK: TEST0:
# CHECK: .byte 0
TEST0:
.dc.b 0
# CHECK: TEST1:
# CHECK: .short 3
TEST1:
.dc 3
# CHECK: TEST2:
# CHECK: .short 3
TEST2:
.dc.w 3
# CHECK: TEST3:
# CHECK: .long 8
TEST3:
.dc.l 8
# CHECK: TEST4:
# CHECK: .long 8
TEST4:
.dc.a 8
# CHECK: TEST5
# CHECK: .long 1067412619
TEST5:
.dc.s 1.2455
# CHECK: TEST6
# CHECK: .quad 4597526701198935065
TEST6:
.dc.d .232
# CHECK-ERROR: error: .dc.x not currently supported for this target
TEST7:
.dc.x 1.2e3