[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / AsmParser / directive_values.s
blob125f348db002aee0bd64bda7f855fb9571c5d270
1 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
3 # CHECK: TEST0:
4 # CHECK-NEXT: .byte 0
5 TEST0:
6 .byte 0
8 # CHECK: TEST1:
9 # CHECK-NEXT: .short 3
10 TEST1:
11 .short 3
13 # CHECK: TEST2:
14 # CHECK-NEXT: .long 8
15 TEST2:
16 .long 8
18 # CHECK: TEST3:
19 # CHECK-NEXT: .quad 9
20 TEST3:
21 .quad 9
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-NEXT: .quad 4
33 # CHECK-NEXT: .quad 4294967295
34 # CHECK-NEXT: .quad 4294967296
35 # CHECK-NEXT: .quad 4294967296
36 # CHECK-NEXT: .quad 1075
39 TEST5:
40 .value 8
41 # CHECK: TEST5:
42 # CHECK-NEXT: .short 8
44 TEST6:
45 .byte 'c'
46 .byte '\''
47 .byte '\\'
48 .byte '\#'
49 .byte '\t'
50 .byte '\n'
51 .byte '\r'
52 .byte '\f'
53 .byte '\"'
55 # CHECK: TEST6
56 # CHECK-NEXT: .byte 99
57 # CHECK-NEXT: .byte 39
58 # CHECK-NEXT: .byte 92
59 # CHECK-NEXT: .byte 35
60 # CHECK-NEXT: .byte 9
61 # CHECK-NEXT: .byte 10
62 # CHECK-NEXT: .byte 13
63 # CHECK-NEXT: .byte 12
64 # CHECK-NEXT: .byte 34
66 TEST7:
67 .byte 1, 2, 3, 4
68 # CHECK: TEST7
69 # CHECK-NEXT: .byte 1
70 # CHECK-NEXT: .byte 2
71 # CHECK-NEXT: .byte 3
72 # CHECK-NEXT: .byte 4
74 TEST8:
75 .long 0x200000UL+1
76 .long 0x200000L+1
77 # CHECK: TEST8
78 # CHECK-NEXT: .long 2097153
79 # CHECK-NEXT: .long 2097153
81 TEST9:
82 .octa 0x1234567812345678abcdef, 340282366920938463463374607431768211455
83 .octa 0b00111010010110100101101001011010010110100101101001011010010110100101101001011010010110100101101001011010010110100101101001011010
84 # CHECK: TEST9
85 # CHECK-NEXT: .quad 8652035380128501231
86 # CHECK-NEXT: .quad 1193046
87 # CHECK-NEXT: .quad -1
88 # CHECK-NEXT: .quad -1
89 # CHECK-NEXT: .quad 6510615555426900570
90 # CHECK-NEXT: .quad 4204772546213206618