Remove check for Android in Mips.cpp (#123793)
[llvm-project.git] / llvm / test / MC / LoongArch / Misc / numeric-reg-names.s
blobb724e47425203a21fd94e1879637b9cc126dcecf
1 # RUN: llvm-mc --triple=loongarch32 --mattr=+f --loongarch-numeric-reg %s \
2 # RUN: | FileCheck %s
3 # RUN: llvm-mc --triple=loongarch32 --mattr=+f -M numeric %s \
4 # RUN: | FileCheck %s
5 # RUN: llvm-mc --triple=loongarch32 --mattr=+f --filetype=obj %s -o %t.32
6 # RUN: llvm-objdump -d -M numeric %t.32 | FileCheck %s
7 # RUN: llvm-mc --triple=loongarch64 --mattr=+f --loongarch-numeric-reg %s \
8 # RUN: | FileCheck %s
9 # RUN: llvm-mc --triple=loongarch64 --mattr=+f -M numeric %s \
10 # RUN: | FileCheck %s
11 # RUN: llvm-mc --triple=loongarch64 --mattr=+f --filetype=obj %s -o %t.64
12 # RUN: llvm-objdump -d -M numeric %t.64 | FileCheck %s
14 addi.w $zero, $ra, 1
15 addi.w $tp, $sp, 1
16 addi.w $a0, $a1, 1
17 addi.w $a2, $a3, 1
18 addi.w $a4, $a5, 1
19 addi.w $a6, $a7, 1
20 addi.w $t0, $t1, 1
21 addi.w $t2, $t3, 1
22 addi.w $t4, $t5, 1
23 addi.w $t6, $t7, 1
24 addi.w $t8, $r21, 1
25 addi.w $fp, $s0, 1
26 addi.w $s1, $s2, 1
27 addi.w $s3, $s4, 1
28 addi.w $s5, $s6, 1
29 addi.w $s7, $s8, 1
31 # CHECK: addi.w $r0, $r1, 1
32 # CHECK-NEXT: addi.w $r2, $r3, 1
33 # CHECK-NEXT: addi.w $r4, $r5, 1
34 # CHECK-NEXT: addi.w $r6, $r7, 1
35 # CHECK-NEXT: addi.w $r8, $r9, 1
36 # CHECK-NEXT: addi.w $r10, $r11, 1
37 # CHECK-NEXT: addi.w $r12, $r13, 1
38 # CHECK-NEXT: addi.w $r14, $r15, 1
39 # CHECK-NEXT: addi.w $r16, $r17, 1
40 # CHECK-NEXT: addi.w $r18, $r19, 1
41 # CHECK-NEXT: addi.w $r20, $r21, 1
42 # CHECK-NEXT: addi.w $r22, $r23, 1
43 # CHECK-NEXT: addi.w $r24, $r25, 1
44 # CHECK-NEXT: addi.w $r26, $r27, 1
45 # CHECK-NEXT: addi.w $r28, $r29, 1
46 # CHECK-NEXT: addi.w $r30, $r31, 1
48 fmadd.s $fa0, $fa1, $fa2, $fa3
49 fmadd.s $fa4, $fa5, $fa6, $fa7
50 fmadd.s $ft0, $ft1, $ft2, $ft3
51 fmadd.s $ft4, $ft5, $ft6, $ft7
52 fmadd.s $ft8, $ft9, $ft10, $ft11
53 fmadd.s $ft12, $ft13, $ft14, $ft15
54 fmadd.s $fs0, $fs1, $fs2, $fs3
55 fmadd.s $fs4, $fs5, $fs6, $fs7
57 # CHECK: fmadd.s $f0, $f1, $f2, $f3
58 # CHECK-NEXT: fmadd.s $f4, $f5, $f6, $f7
59 # CHECK-NEXT: fmadd.s $f8, $f9, $f10, $f11
60 # CHECK-NEXT: fmadd.s $f12, $f13, $f14, $f15
61 # CHECK-NEXT: fmadd.s $f16, $f17, $f18, $f19
62 # CHECK-NEXT: fmadd.s $f20, $f21, $f22, $f23
63 # CHECK-NEXT: fmadd.s $f24, $f25, $f26, $f27
64 # CHECK-NEXT: fmadd.s $f28, $f29, $f30, $f31