-#as: -march=loongson3a -mabi=o64\r
-#objdump: -M reg-names=numeric -dr\r
-#name: Loongson-3A tests\r
-\r
-.*: file format .*\r
-\r
-Disassembly of section .text:\r
-\r
-[0-9a-f]+ <movz_insns>:\r
-.*: 0064100b movn \$2,\$3,\$4\r
-\r
-[0-9a-f]+ <integer_insns>:\r
-.*: 70641010 gsmult \$2,\$3,\$4\r
-.*: 70c72812 gsmultu \$5,\$6,\$7\r
-.*: 712a4011 gsdmult \$8,\$9,\$10\r
-.*: 718d5813 gsdmultu \$11,\$12,\$13\r
-.*: 71f07014 gsdiv \$14,\$15,\$16\r
-.*: 72538816 gsdivu \$17,\$18,\$19\r
-.*: 72b6a015 gsddiv \$20,\$21,\$22\r
-.*: 7319b817 gsddivu \$23,\$24,\$25\r
-.*: 737cd01c gsmod \$26,\$27,\$28\r
-.*: 73dfe81e gsmodu \$29,\$30,\$31\r
-.*: 7064101d gsdmod \$2,\$3,\$4\r
-.*: 70c7281f gsdmodu \$5,\$6,\$7\r
-\r
-[0-9a-f]+ <simd_insns>:\r
-.*: 4b420802 packsshb \$f0,\$f1,\$f2\r
-.*: 4b2520c2 packsswh \$f3,\$f4,\$f5\r
-.*: 4b683982 packushb \$f6,\$f7,\$f8\r
-.*: 4bcb5240 paddb \$f9,\$f10,\$f11\r
-.*: 4b4e6b00 paddh \$f12,\$f13,\$f14\r
-.*: 4b7183c0 paddw \$f15,\$f16,\$f17\r
-.*: 4bf49c80 paddd \$f18,\$f19,\$f20\r
-.*: 4b97b540 paddsb \$f21,\$f22,\$f23\r
-.*: 4b1ace00 paddsh \$f24,\$f25,\$f26\r
-.*: 4bbde6c0 paddusb \$f27,\$f28,\$f29\r
-.*: 4b220800 paddush \$f0,\$f1,\$f2\r
-.*: 4be520c2 pandn \$f3,\$f4,\$f5\r
-.*: 4b283988 pavgb \$f6,\$f7,\$f8\r
-.*: 4b0b5248 pavgh \$f9,\$f10,\$f11\r
-.*: 4b8e6b09 pcmpeqb \$f12,\$f13,\$f14\r
-.*: 4b5183c9 pcmpeqh \$f15,\$f16,\$f17\r
-.*: 4b149c89 pcmpeqw \$f18,\$f19,\$f20\r
-.*: 4bb7b549 pcmpgtb \$f21,\$f22,\$f23\r
-.*: 4b7ace09 pcmpgth \$f24,\$f25,\$f26\r
-.*: 4b3de6c9 pcmpgtw \$f27,\$f28,\$f29\r
-.*: 4b42080e pextrh \$f0,\$f1,\$f2\r
-.*: 4b8520c3 pinsrh_0 \$f3,\$f4,\$f5\r
-.*: 4ba83983 pinsrh_1 \$f6,\$f7,\$f8\r
-.*: 4bcb5243 pinsrh_2 \$f9,\$f10,\$f11\r
-.*: 4bee6b03 pinsrh_3 \$f12,\$f13,\$f14\r
-.*: 4b7183ce pmaddhw \$f15,\$f16,\$f17\r
-.*: 4b549c88 pmaxsh \$f18,\$f19,\$f20\r
-.*: 4b97b548 pmaxub \$f21,\$f22,\$f23\r
-.*: 4b7ace08 pminsh \$f24,\$f25,\$f26\r
-.*: 4bbde6c8 pminub \$f27,\$f28,\$f29\r
-.*: 4ba0080f pmovmskb \$f0,\$f1\r
-.*: 4ba4188a pmulhuh \$f2,\$f3,\$f4\r
-.*: 4b67314a pmulhh \$f5,\$f6,\$f7\r
-.*: 4b4a4a0a pmullh \$f8,\$f9,\$f10\r
-.*: 4b8d62ca pmuluw \$f11,\$f12,\$f13\r
-.*: 4b307b8d pasubub \$f14,\$f15,\$f16\r
-.*: 4b80944f biadd \$f17,\$f18\r
-.*: 4b15a4c2 pshufh \$f19,\$f20,\$f21\r
-.*: 4b38bd8a psllh \$f22,\$f23,\$f24\r
-.*: 4b1bd64a psllw \$f25,\$f26,\$f27\r
-.*: 4b7eef0b psrah \$f28,\$f29,\$f30\r
-.*: 4b42080b psraw \$f0,\$f1,\$f2\r
-.*: 4b2520cb psrlh \$f3,\$f4,\$f5\r
-.*: 4b08398b psrlw \$f6,\$f7,\$f8\r
-.*: 4bcb5241 psubb \$f9,\$f10,\$f11\r
-.*: 4b4e6b01 psubh \$f12,\$f13,\$f14\r
-.*: 4b7183c1 psubw \$f15,\$f16,\$f17\r
-.*: 4bf49c81 psubd \$f18,\$f19,\$f20\r
-.*: 4b97b541 psubsb \$f21,\$f22,\$f23\r
-.*: 4b1ace01 psubsh \$f24,\$f25,\$f26\r
-.*: 4bbde6c1 psubusb \$f27,\$f28,\$f29\r
-.*: 4b220801 psubush \$f0,\$f1,\$f2\r
-.*: 4b6520c3 punpckhbh \$f3,\$f4,\$f5\r
-.*: 4b283983 punpckhhw \$f6,\$f7,\$f8\r
-.*: 4bab524b punpckhwd \$f9,\$f10,\$f11\r
-.*: 4b4e6b03 punpcklbh \$f12,\$f13,\$f14\r
-.*: 4b1183c3 punpcklhw \$f15,\$f16,\$f17\r
-.*: 4b949c8b punpcklwd \$f18,\$f19,\$f20\r
-\r
-[0-9a-f]+ <fixed_point_insns>:\r
-.*: 4b42080c add \$f0,\$f1,\$f2\r
-.*: 4b0520cc addu \$f3,\$f4,\$f5\r
-.*: 4b68398c dadd \$f6,\$f7,\$f8\r
-.*: 4b4b524d sub \$f9,\$f10,\$f11\r
-.*: 4b0e6b0d subu \$f12,\$f13,\$f14\r
-.*: 4b7183cd dsub \$f15,\$f16,\$f17\r
-.*: 4b349c8c or \$f18,\$f19,\$f20\r
-.*: 4b17b54e sll \$f21,\$f22,\$f23\r
-.*: 4b3ace0e dsll \$f24,\$f25,\$f26\r
-.*: 4b9de6c2 xor \$f27,\$f28,\$f29\r
-.*: 4ba20802 nor \$f0,\$f1,\$f2\r
-.*: 4bc520c2 and \$f3,\$f4,\$f5\r
-.*: 4b08398f srl \$f6,\$f7,\$f8\r
-.*: 4b2b524f dsrl \$f9,\$f10,\$f11\r
-.*: 4b4e6b0f sra \$f12,\$f13,\$f14\r
-.*: 4b7183cf dsra \$f15,\$f16,\$f17\r
-.*: 4b93900c sequ \$f18,\$f19\r
-.*: 4b95a00d sltu \$f20,\$f21\r
-.*: 4b97b00e sleu \$f22,\$f23\r
-.*: 4bb9c00c seq \$f24,\$f25\r
-.*: 4bbbd00d slt \$f26,\$f27\r
-.*: 4bbde00e sle \$f28,\$f29\r
-#pass\r
-\r
-\r
+#as: -march=loongson3a -mabi=o64
+#objdump: -M reg-names=numeric -dr
+#name: Loongson-3A tests
+
+.*: file format .*
+
+Disassembly of section .text:
+
+[0-9a-f]+ <movz_insns>:
+.*: 0064100b movn \$2,\$3,\$4
+
+[0-9a-f]+ <integer_insns>:
+.*: 70641010 gsmult \$2,\$3,\$4
+.*: 70c72812 gsmultu \$5,\$6,\$7
+.*: 712a4011 gsdmult \$8,\$9,\$10
+.*: 718d5813 gsdmultu \$11,\$12,\$13
+.*: 71f07014 gsdiv \$14,\$15,\$16
+.*: 72538816 gsdivu \$17,\$18,\$19
+.*: 72b6a015 gsddiv \$20,\$21,\$22
+.*: 7319b817 gsddivu \$23,\$24,\$25
+.*: 737cd01c gsmod \$26,\$27,\$28
+.*: 73dfe81e gsmodu \$29,\$30,\$31
+.*: 7064101d gsdmod \$2,\$3,\$4
+.*: 70c7281f gsdmodu \$5,\$6,\$7
+
+[0-9a-f]+ <simd_insns>:
+.*: 4b420802 packsshb \$f0,\$f1,\$f2
+.*: 4b2520c2 packsswh \$f3,\$f4,\$f5
+.*: 4b683982 packushb \$f6,\$f7,\$f8
+.*: 4bcb5240 paddb \$f9,\$f10,\$f11
+.*: 4b4e6b00 paddh \$f12,\$f13,\$f14
+.*: 4b7183c0 paddw \$f15,\$f16,\$f17
+.*: 4bf49c80 paddd \$f18,\$f19,\$f20
+.*: 4b97b540 paddsb \$f21,\$f22,\$f23
+.*: 4b1ace00 paddsh \$f24,\$f25,\$f26
+.*: 4bbde6c0 paddusb \$f27,\$f28,\$f29
+.*: 4b220800 paddush \$f0,\$f1,\$f2
+.*: 4be520c2 pandn \$f3,\$f4,\$f5
+.*: 4b283988 pavgb \$f6,\$f7,\$f8
+.*: 4b0b5248 pavgh \$f9,\$f10,\$f11
+.*: 4b8e6b09 pcmpeqb \$f12,\$f13,\$f14
+.*: 4b5183c9 pcmpeqh \$f15,\$f16,\$f17
+.*: 4b149c89 pcmpeqw \$f18,\$f19,\$f20
+.*: 4bb7b549 pcmpgtb \$f21,\$f22,\$f23
+.*: 4b7ace09 pcmpgth \$f24,\$f25,\$f26
+.*: 4b3de6c9 pcmpgtw \$f27,\$f28,\$f29
+.*: 4b42080e pextrh \$f0,\$f1,\$f2
+.*: 4b8520c3 pinsrh_0 \$f3,\$f4,\$f5
+.*: 4ba83983 pinsrh_1 \$f6,\$f7,\$f8
+.*: 4bcb5243 pinsrh_2 \$f9,\$f10,\$f11
+.*: 4bee6b03 pinsrh_3 \$f12,\$f13,\$f14
+.*: 4b7183ce pmaddhw \$f15,\$f16,\$f17
+.*: 4b549c88 pmaxsh \$f18,\$f19,\$f20
+.*: 4b97b548 pmaxub \$f21,\$f22,\$f23
+.*: 4b7ace08 pminsh \$f24,\$f25,\$f26
+.*: 4bbde6c8 pminub \$f27,\$f28,\$f29
+.*: 4ba0080f pmovmskb \$f0,\$f1
+.*: 4ba4188a pmulhuh \$f2,\$f3,\$f4
+.*: 4b67314a pmulhh \$f5,\$f6,\$f7
+.*: 4b4a4a0a pmullh \$f8,\$f9,\$f10
+.*: 4b8d62ca pmuluw \$f11,\$f12,\$f13
+.*: 4b307b8d pasubub \$f14,\$f15,\$f16
+.*: 4b80944f biadd \$f17,\$f18
+.*: 4b15a4c2 pshufh \$f19,\$f20,\$f21
+.*: 4b38bd8a psllh \$f22,\$f23,\$f24
+.*: 4b1bd64a psllw \$f25,\$f26,\$f27
+.*: 4b7eef0b psrah \$f28,\$f29,\$f30
+.*: 4b42080b psraw \$f0,\$f1,\$f2
+.*: 4b2520cb psrlh \$f3,\$f4,\$f5
+.*: 4b08398b psrlw \$f6,\$f7,\$f8
+.*: 4bcb5241 psubb \$f9,\$f10,\$f11
+.*: 4b4e6b01 psubh \$f12,\$f13,\$f14
+.*: 4b7183c1 psubw \$f15,\$f16,\$f17
+.*: 4bf49c81 psubd \$f18,\$f19,\$f20
+.*: 4b97b541 psubsb \$f21,\$f22,\$f23
+.*: 4b1ace01 psubsh \$f24,\$f25,\$f26
+.*: 4bbde6c1 psubusb \$f27,\$f28,\$f29
+.*: 4b220801 psubush \$f0,\$f1,\$f2
+.*: 4b6520c3 punpckhbh \$f3,\$f4,\$f5
+.*: 4b283983 punpckhhw \$f6,\$f7,\$f8
+.*: 4bab524b punpckhwd \$f9,\$f10,\$f11
+.*: 4b4e6b03 punpcklbh \$f12,\$f13,\$f14
+.*: 4b1183c3 punpcklhw \$f15,\$f16,\$f17
+.*: 4b949c8b punpcklwd \$f18,\$f19,\$f20
+
+[0-9a-f]+ <fixed_point_insns>:
+.*: 4b42080c add \$f0,\$f1,\$f2
+.*: 4b0520cc addu \$f3,\$f4,\$f5
+.*: 4b68398c dadd \$f6,\$f7,\$f8
+.*: 4b4b524d sub \$f9,\$f10,\$f11
+.*: 4b0e6b0d subu \$f12,\$f13,\$f14
+.*: 4b7183cd dsub \$f15,\$f16,\$f17
+.*: 4b349c8c or \$f18,\$f19,\$f20
+.*: 4b17b54e sll \$f21,\$f22,\$f23
+.*: 4b3ace0e dsll \$f24,\$f25,\$f26
+.*: 4b9de6c2 xor \$f27,\$f28,\$f29
+.*: 4ba20802 nor \$f0,\$f1,\$f2
+.*: 4bc520c2 and \$f3,\$f4,\$f5
+.*: 4b08398f srl \$f6,\$f7,\$f8
+.*: 4b2b524f dsrl \$f9,\$f10,\$f11
+.*: 4b4e6b0f sra \$f12,\$f13,\$f14
+.*: 4b7183cf dsra \$f15,\$f16,\$f17
+.*: 4b93900c sequ \$f18,\$f19
+.*: 4b95a00d sltu \$f20,\$f21
+.*: 4b97b00e sleu \$f22,\$f23
+.*: 4bb9c00c seq \$f24,\$f25
+.*: 4bbbd00d slt \$f26,\$f27
+.*: 4bbde00e sle \$f28,\$f29
+#pass
- .text\r
- .set noreorder\r
-\r
-movz_insns:\r
- movnz $2, $3, $4\r
-\r
-integer_insns:\r
- gsmult $2, $3, $4\r
- gsmultu $5, $6, $7\r
- gsdmult $8, $9, $10\r
- gsdmultu $11, $12, $13\r
- gsdiv $14, $15, $16\r
- gsdivu $17, $18, $19\r
- gsddiv $20, $21, $22\r
- gsddivu $23, $24, $25\r
- gsmod $26, $27, $28\r
- gsmodu $29, $30, $31\r
- gsdmod $2, $3, $4\r
- gsdmodu $5, $6, $7\r
-\r
-simd_insns:\r
- packsshb $f0, $f1, $f2\r
- packsswh $f3, $f4, $f5\r
- packushb $f6, $f7, $f8\r
- paddb $f9, $f10, $f11\r
- paddh $f12, $f13, $f14\r
- paddw $f15, $f16, $f17\r
- paddd $f18, $f19, $f20\r
- paddsb $f21, $f22, $f23\r
- paddsh $f24, $f25, $f26\r
- paddusb $f27, $f28, $f29\r
- paddush $f0, $f1, $f2\r
- pandn $f3, $f4, $f5\r
- pavgb $f6, $f7, $f8\r
- pavgh $f9, $f10, $f11\r
- pcmpeqb $f12, $f13, $f14\r
- pcmpeqh $f15, $f16, $f17\r
- pcmpeqw $f18, $f19, $f20\r
- pcmpgtb $f21, $f22, $f23\r
- pcmpgth $f24, $f25, $f26\r
- pcmpgtw $f27, $f28, $f29\r
- pextrh $f0, $f1, $f2\r
- pinsrh_0 $f3, $f4, $f5\r
- pinsrh_1 $f6, $f7, $f8\r
- pinsrh_2 $f9, $f10, $f11\r
- pinsrh_3 $f12, $f13, $f14\r
- pmaddhw $f15, $f16, $f17\r
- pmaxsh $f18, $f19, $f20\r
- pmaxub $f21, $f22, $f23\r
- pminsh $f24, $f25, $f26\r
- pminub $f27, $f28, $f29\r
- pmovmskb $f0, $f1\r
- pmulhuh $f2, $f3, $f4\r
- pmulhh $f5, $f6, $f7\r
- pmullh $f8, $f9, $f10\r
- pmuluw $f11, $f12, $f13\r
- pasubub $f14, $f15, $f16\r
- biadd $f17, $f18\r
- pshufh $f19, $f20, $f21\r
- psllh $f22, $f23, $f24\r
- psllw $f25, $f26, $f27\r
- psrah $f28, $f29, $f30\r
- psraw $f0, $f1, $f2\r
- psrlh $f3, $f4, $f5\r
- psrlw $f6, $f7, $f8\r
- psubb $f9, $f10, $f11\r
- psubh $f12, $f13, $f14\r
- psubw $f15, $f16, $f17\r
- psubd $f18, $f19, $f20\r
- psubsb $f21, $f22, $f23\r
- psubsh $f24, $f25, $f26\r
- psubusb $f27, $f28, $f29\r
- psubush $f0, $f1, $f2\r
- punpckhbh $f3, $f4, $f5\r
- punpckhhw $f6, $f7, $f8\r
- punpckhwd $f9, $f10, $f11\r
- punpcklbh $f12, $f13, $f14\r
- punpcklhw $f15, $f16, $f17\r
- punpcklwd $f18, $f19, $f20\r
-\r
-fixed_point_insns:\r
- add $f0, $f1, $f2\r
- addu $f3, $f4, $f5\r
- dadd $f6, $f7, $f8\r
- sub $f9, $f10, $f11\r
- subu $f12, $f13, $f14\r
- dsub $f15, $f16, $f17\r
- or $f18, $f19, $f20\r
- sll $f21, $f22, $f23\r
- dsll $f24, $f25, $f26\r
- xor $f27, $f28, $f29\r
- nor $f0, $f1, $f2\r
- and $f3, $f4, $f5\r
- srl $f6, $f7, $f8\r
- dsrl $f9, $f10, $f11\r
- sra $f12, $f13, $f14\r
- dsra $f15, $f16, $f17\r
- sequ $f18, $f19\r
- sltu $f20, $f21\r
- sleu $f22, $f23\r
- seq $f24, $f25\r
- slt $f26, $f27\r
- sle $f28, $f29\r
-\r
-\r
+ .text
+ .set noreorder
+
+movz_insns:
+ movnz $2, $3, $4
+
+integer_insns:
+ gsmult $2, $3, $4
+ gsmultu $5, $6, $7
+ gsdmult $8, $9, $10
+ gsdmultu $11, $12, $13
+ gsdiv $14, $15, $16
+ gsdivu $17, $18, $19
+ gsddiv $20, $21, $22
+ gsddivu $23, $24, $25
+ gsmod $26, $27, $28
+ gsmodu $29, $30, $31
+ gsdmod $2, $3, $4
+ gsdmodu $5, $6, $7
+
+simd_insns:
+ packsshb $f0, $f1, $f2
+ packsswh $f3, $f4, $f5
+ packushb $f6, $f7, $f8
+ paddb $f9, $f10, $f11
+ paddh $f12, $f13, $f14
+ paddw $f15, $f16, $f17
+ paddd $f18, $f19, $f20
+ paddsb $f21, $f22, $f23
+ paddsh $f24, $f25, $f26
+ paddusb $f27, $f28, $f29
+ paddush $f0, $f1, $f2
+ pandn $f3, $f4, $f5
+ pavgb $f6, $f7, $f8
+ pavgh $f9, $f10, $f11
+ pcmpeqb $f12, $f13, $f14
+ pcmpeqh $f15, $f16, $f17
+ pcmpeqw $f18, $f19, $f20
+ pcmpgtb $f21, $f22, $f23
+ pcmpgth $f24, $f25, $f26
+ pcmpgtw $f27, $f28, $f29
+ pextrh $f0, $f1, $f2
+ pinsrh_0 $f3, $f4, $f5
+ pinsrh_1 $f6, $f7, $f8
+ pinsrh_2 $f9, $f10, $f11
+ pinsrh_3 $f12, $f13, $f14
+ pmaddhw $f15, $f16, $f17
+ pmaxsh $f18, $f19, $f20
+ pmaxub $f21, $f22, $f23
+ pminsh $f24, $f25, $f26
+ pminub $f27, $f28, $f29
+ pmovmskb $f0, $f1
+ pmulhuh $f2, $f3, $f4
+ pmulhh $f5, $f6, $f7
+ pmullh $f8, $f9, $f10
+ pmuluw $f11, $f12, $f13
+ pasubub $f14, $f15, $f16
+ biadd $f17, $f18
+ pshufh $f19, $f20, $f21
+ psllh $f22, $f23, $f24
+ psllw $f25, $f26, $f27
+ psrah $f28, $f29, $f30
+ psraw $f0, $f1, $f2
+ psrlh $f3, $f4, $f5
+ psrlw $f6, $f7, $f8
+ psubb $f9, $f10, $f11
+ psubh $f12, $f13, $f14
+ psubw $f15, $f16, $f17
+ psubd $f18, $f19, $f20
+ psubsb $f21, $f22, $f23
+ psubsh $f24, $f25, $f26
+ psubusb $f27, $f28, $f29
+ psubush $f0, $f1, $f2
+ punpckhbh $f3, $f4, $f5
+ punpckhhw $f6, $f7, $f8
+ punpckhwd $f9, $f10, $f11
+ punpcklbh $f12, $f13, $f14
+ punpcklhw $f15, $f16, $f17
+ punpcklwd $f18, $f19, $f20
+
+fixed_point_insns:
+ add $f0, $f1, $f2
+ addu $f3, $f4, $f5
+ dadd $f6, $f7, $f8
+ sub $f9, $f10, $f11
+ subu $f12, $f13, $f14
+ dsub $f15, $f16, $f17
+ or $f18, $f19, $f20
+ sll $f21, $f22, $f23
+ dsll $f24, $f25, $f26
+ xor $f27, $f28, $f29
+ nor $f0, $f1, $f2
+ and $f3, $f4, $f5
+ srl $f6, $f7, $f8
+ dsrl $f9, $f10, $f11
+ sra $f12, $f13, $f14
+ dsra $f15, $f16, $f17
+ sequ $f18, $f19
+ sltu $f20, $f21
+ sleu $f22, $f23
+ seq $f24, $f25
+ slt $f26, $f27
+ sle $f28, $f29