xref: /llvm-project/llvm/test/tools/llvm-ml/radix.asm (revision e074d580b28b8cdf31fc4813cbc886ef5149d203)
1*e074d580SEric Astor; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
28fee2ee9SEric Astor
38fee2ee9SEric Astor.code
48fee2ee9SEric Astor
58fee2ee9SEric Astort1:
68fee2ee9SEric Astormov eax, 100b
78fee2ee9SEric Astormov eax, 100y
88fee2ee9SEric Astor
98fee2ee9SEric Astor; CHECK-LABEL: t1:
108fee2ee9SEric Astor; CHECK-NEXT: mov eax, 4
118fee2ee9SEric Astor; CHECK-NEXT: mov eax, 4
128fee2ee9SEric Astor
138fee2ee9SEric Astort2:
148fee2ee9SEric Astormov eax, 100o
158fee2ee9SEric Astormov eax, 100q
168fee2ee9SEric Astor
178fee2ee9SEric Astor; CHECK-LABEL: t2:
188fee2ee9SEric Astor; CHECK-NEXT: mov eax, 64
198fee2ee9SEric Astor; CHECK-NEXT: mov eax, 64
208fee2ee9SEric Astor
218fee2ee9SEric Astort3:
228fee2ee9SEric Astormov eax, 100d
238fee2ee9SEric Astormov eax, 100t
248fee2ee9SEric Astor
258fee2ee9SEric Astor; CHECK-LABEL: t3:
268fee2ee9SEric Astor; CHECK-NEXT: mov eax, 100
278fee2ee9SEric Astor; CHECK-NEXT: mov eax, 100
288fee2ee9SEric Astor
298fee2ee9SEric Astort4:
308fee2ee9SEric Astormov eax, 100h
318fee2ee9SEric Astor
328fee2ee9SEric Astor; CHECK-LABEL: t4:
338fee2ee9SEric Astor; CHECK-NEXT: mov eax, 256
348fee2ee9SEric Astor
358fee2ee9SEric Astort5:
368fee2ee9SEric Astormov eax, 100
378fee2ee9SEric Astor.radix 2
388fee2ee9SEric Astormov eax, 100
398fee2ee9SEric Astor.radix 16
408fee2ee9SEric Astormov eax, 100
418fee2ee9SEric Astor.radix 10
428fee2ee9SEric Astormov eax, 100
438fee2ee9SEric Astor
448fee2ee9SEric Astor; CHECK-LABEL: t5:
458fee2ee9SEric Astor; CHECK: mov eax, 100
468fee2ee9SEric Astor; CHECK: mov eax, 4
478fee2ee9SEric Astor; CHECK: mov eax, 256
488fee2ee9SEric Astor; CHECK: mov eax, 100
498fee2ee9SEric Astor
508fee2ee9SEric Astort6:
518fee2ee9SEric Astor.radix 9
528fee2ee9SEric Astormov eax, 100
538fee2ee9SEric Astor.radix 10
548fee2ee9SEric Astor
558fee2ee9SEric Astor; CHECK-LABEL: t6:
568fee2ee9SEric Astor; CHECK: mov eax, 81
578fee2ee9SEric Astor
588fee2ee9SEric Astort7:
598fee2ee9SEric Astor.radix 12
608fee2ee9SEric Astormov eax, 100b
618fee2ee9SEric Astormov eax, 100y
628fee2ee9SEric Astor.radix 10
638fee2ee9SEric Astor
648fee2ee9SEric Astor; CHECK-LABEL: t7:
658fee2ee9SEric Astor; CHECK: mov eax, 1739
668fee2ee9SEric Astor; CHECK: mov eax, 4
678fee2ee9SEric Astor
688fee2ee9SEric Astort8:
698fee2ee9SEric Astor.radix 16
708fee2ee9SEric Astormov eax, 100d
718fee2ee9SEric Astormov eax, 100t
728fee2ee9SEric Astor.radix 10
738fee2ee9SEric Astor
748fee2ee9SEric Astor; CHECK-LABEL: t8:
758fee2ee9SEric Astor; CHECK: mov eax, 4109
768fee2ee9SEric Astor; CHECK: mov eax, 100
778fee2ee9SEric Astor
788fee2ee9SEric Astort9:
798fee2ee9SEric Astor.radix 12
808fee2ee9SEric Astormov eax, 102b
818fee2ee9SEric Astor.radix 16
828fee2ee9SEric Astormov eax, 10fd
838fee2ee9SEric Astor.radix 10
848fee2ee9SEric Astor
858fee2ee9SEric Astor; CHECK-LABEL: t9:
868fee2ee9SEric Astor; CHECK: mov eax, 1763
878fee2ee9SEric Astor; CHECK: mov eax, 4349
888fee2ee9SEric Astor
898fee2ee9SEric Astort10:
908fee2ee9SEric Astor.radix 16
918fee2ee9SEric Astormov eax, 1e1
928fee2ee9SEric Astor.radix 10
938fee2ee9SEric Astor
948fee2ee9SEric Astor; CHECK-LABEL: t10:
958fee2ee9SEric Astor; CHECK: mov eax, 481
968fee2ee9SEric Astor
978fee2ee9SEric AstorEND
98