[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / tools / llvm-ml / radix.asm
blobfa4abdc2148df461b5cc714ecb58a9100adb7764
1 ; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
3 .code
5 t1:
6 mov eax, 100b
7 mov eax, 100y
9 ; CHECK-LABEL: t1:
10 ; CHECK-NEXT: mov eax, 4
11 ; CHECK-NEXT: mov eax, 4
13 t2:
14 mov eax, 100o
15 mov eax, 100q
17 ; CHECK-LABEL: t2:
18 ; CHECK-NEXT: mov eax, 64
19 ; CHECK-NEXT: mov eax, 64
21 t3:
22 mov eax, 100d
23 mov eax, 100t
25 ; CHECK-LABEL: t3:
26 ; CHECK-NEXT: mov eax, 100
27 ; CHECK-NEXT: mov eax, 100
29 t4:
30 mov eax, 100h
32 ; CHECK-LABEL: t4:
33 ; CHECK-NEXT: mov eax, 256
35 t5:
36 mov eax, 100
37 .radix 2
38 mov eax, 100
39 .radix 16
40 mov eax, 100
41 .radix 10
42 mov eax, 100
44 ; CHECK-LABEL: t5:
45 ; CHECK: mov eax, 100
46 ; CHECK: mov eax, 4
47 ; CHECK: mov eax, 256
48 ; CHECK: mov eax, 100
50 t6:
51 .radix 9
52 mov eax, 100
53 .radix 10
55 ; CHECK-LABEL: t6:
56 ; CHECK: mov eax, 81
58 t7:
59 .radix 12
60 mov eax, 100b
61 mov eax, 100y
62 .radix 10
64 ; CHECK-LABEL: t7:
65 ; CHECK: mov eax, 1739
66 ; CHECK: mov eax, 4
68 t8:
69 .radix 16
70 mov eax, 100d
71 mov eax, 100t
72 .radix 10
74 ; CHECK-LABEL: t8:
75 ; CHECK: mov eax, 4109
76 ; CHECK: mov eax, 100
78 t9:
79 .radix 12
80 mov eax, 102b
81 .radix 16
82 mov eax, 10fd
83 .radix 10
85 ; CHECK-LABEL: t9:
86 ; CHECK: mov eax, 1763
87 ; CHECK: mov eax, 4349
89 t10:
90 .radix 16
91 mov eax, 1e1
92 .radix 10
94 ; CHECK-LABEL: t10:
95 ; CHECK: mov eax, 481
97 END