[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AsmParser / directive_dcb.s
blob4445ccc76b4f271ebe57a72295cf4b45d51579cb
1 # RUN: not llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2 # RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 > /dev/null| FileCheck %s --check-prefix=CHECK-ERROR
4 # CHECK: TEST0:
5 # CHECK: .byte 1
6 # CHECK: .byte 1
7 TEST0:
8 .dcb.b 2, 1
10 # CHECK: TEST1:
11 # CHECK: .short 3
12 TEST1:
13 .dcb 1, 3
15 # CHECK: TEST2:
16 # CHECK: .short 3
17 # CHECK: .short 3
18 TEST2:
19 .dcb.w 2, 3
21 # CHECK: TEST3:
22 # CHECK: .long 8
23 # CHECK: .long 8
24 # CHECK: .long 8
25 TEST3:
26 .dcb.l 3, 8
28 # CHECK: TEST5
29 # CHECK: .long 1067412619
30 # CHECK: .long 1067412619
31 # CHECK: .long 1067412619
32 # CHECK: .long 1067412619
33 TEST5:
34 .dcb.s 4, 1.2455
36 # CHECK: TEST6
37 # CHECK: .quad 4597526701198935065
38 # CHECK: .quad 4597526701198935065
39 # CHECK: .quad 4597526701198935065
40 # CHECK: .quad 4597526701198935065
41 # CHECK: .quad 4597526701198935065
42 TEST6:
43 .dcb.d 5, .232
45 # CHECK-ERROR: error: .dcb.x not currently supported for this target
46 TEST7:
47 .dcb.x 3, 1.2e3
49 # CHECK-ERROR: warning: '.dcb' directive with negative repeat count has no effect
50 TEST8:
51 .dcb -1, 2
53 # CHECK-ERROR: error: unexpected token in '.dcb' directive
54 TEST9:
55 .dcb 1 2
57 # CHECK-ERROR: error: unexpected token in '.dcb' directive
58 TEST10:
59 .dcb 1, 2 3