1 #as: -march=loongson2f -mabi=o64 2 #objdump: -M reg-names=numeric -dr 3 #name: ST Microelectronics Loongson-2F tests 4 5 .*: file format .* 6 7 Disassembly of section .text: 8 9 [0-9a-f]+ <movz_insns>: 10 .*: 0064100a movz \$2,\$3,\$4 11 .*: 0064100b movn \$2,\$3,\$4 12 .*: 0064100b movn \$2,\$3,\$4 13 14 [0-9a-f]+ <integer_insns>: 15 .*: 70641010 mult.g \$2,\$3,\$4 16 .*: 70c72812 multu.g \$5,\$6,\$7 17 .*: 712a4011 dmult.g \$8,\$9,\$10 18 .*: 718d5813 dmultu.g \$11,\$12,\$13 19 .*: 71f07014 div.g \$14,\$15,\$16 20 .*: 72538816 divu.g \$17,\$18,\$19 21 .*: 72b6a015 ddiv.g \$20,\$21,\$22 22 .*: 7319b817 ddivu.g \$23,\$24,\$25 23 .*: 737cd01c mod.g \$26,\$27,\$28 24 .*: 73dfe81e modu.g \$29,\$30,\$31 25 .*: 7064101d dmod.g \$2,\$3,\$4 26 .*: 70c7281f dmodu.g \$5,\$6,\$7 27 28 [0-9a-f]+ <fpu_insns>: 29 .*: 72020818 madd.s \$f0,\$f1,\$f2 30 .*: 722520d8 madd.d \$f3,\$f4,\$f5 31 .*: 72c83998 madd.ps \$f6,\$f7,\$f8 32 .*: 720b5259 msub.s \$f9,\$f10,\$f11 33 .*: 722e6b19 msub.d \$f12,\$f13,\$f14 34 .*: 72d183d9 msub.ps \$f15,\$f16,\$f17 35 .*: 72149c9a nmadd.s \$f18,\$f19,\$f20 36 .*: 7237b55a nmadd.d \$f21,\$f22,\$f23 37 .*: 72dace1a nmadd.ps \$f24,\$f25,\$f26 38 .*: 721de6db nmsub.s \$f27,\$f28,\$f29 39 .*: 7222081b nmsub.d \$f0,\$f1,\$f2 40 .*: 72c520db nmsub.ps \$f3,\$f4,\$f5 41 42 [0-9a-f]+ <simd_insns>: 43 .*: 4b420802 packsshb \$f0,\$f1,\$f2 44 .*: 4b2520c2 packsswh \$f3,\$f4,\$f5 45 .*: 4b683982 packushb \$f6,\$f7,\$f8 46 .*: 4bcb5240 paddb \$f9,\$f10,\$f11 47 .*: 4b4e6b00 paddh \$f12,\$f13,\$f14 48 .*: 4b7183c0 paddw \$f15,\$f16,\$f17 49 .*: 4bf49c80 paddd \$f18,\$f19,\$f20 50 .*: 4b97b540 paddsb \$f21,\$f22,\$f23 51 .*: 4b1ace00 paddsh \$f24,\$f25,\$f26 52 .*: 4bbde6c0 paddusb \$f27,\$f28,\$f29 53 .*: 4b220800 paddush \$f0,\$f1,\$f2 54 .*: 4be520c2 pandn \$f3,\$f4,\$f5 55 .*: 4b283988 pavgb \$f6,\$f7,\$f8 56 .*: 4b0b5248 pavgh \$f9,\$f10,\$f11 57 .*: 4b8e6b09 pcmpeqb \$f12,\$f13,\$f14 58 .*: 4b5183c9 pcmpeqh \$f15,\$f16,\$f17 59 .*: 4b149c89 pcmpeqw \$f18,\$f19,\$f20 60 .*: 4bb7b549 pcmpgtb \$f21,\$f22,\$f23 61 .*: 4b7ace09 pcmpgth \$f24,\$f25,\$f26 62 .*: 4b3de6c9 pcmpgtw \$f27,\$f28,\$f29 63 .*: 4b42080e pextrh \$f0,\$f1,\$f2 64 .*: 4b8520c3 pinsrh_0 \$f3,\$f4,\$f5 65 .*: 4ba83983 pinsrh_1 \$f6,\$f7,\$f8 66 .*: 4bcb5243 pinsrh_2 \$f9,\$f10,\$f11 67 .*: 4bee6b03 pinsrh_3 \$f12,\$f13,\$f14 68 .*: 4b7183ce pmaddhw \$f15,\$f16,\$f17 69 .*: 4b549c88 pmaxsh \$f18,\$f19,\$f20 70 .*: 4b97b548 pmaxub \$f21,\$f22,\$f23 71 .*: 4b7ace08 pminsh \$f24,\$f25,\$f26 72 .*: 4bbde6c8 pminub \$f27,\$f28,\$f29 73 .*: 4ba0080f pmovmskb \$f0,\$f1 74 .*: 4ba4188a pmulhuh \$f2,\$f3,\$f4 75 .*: 4b67314a pmulhh \$f5,\$f6,\$f7 76 .*: 4b4a4a0a pmullh \$f8,\$f9,\$f10 77 .*: 4b8d62ca pmuluw \$f11,\$f12,\$f13 78 .*: 4b307b8d pasubub \$f14,\$f15,\$f16 79 .*: 4b80944f biadd \$f17,\$f18 80 .*: 4b15a4c2 pshufh \$f19,\$f20,\$f21 81 .*: 4b38bd8a psllh \$f22,\$f23,\$f24 82 .*: 4b1bd64a psllw \$f25,\$f26,\$f27 83 .*: 4b7eef0b psrah \$f28,\$f29,\$f30 84 .*: 4b42080b psraw \$f0,\$f1,\$f2 85 .*: 4b2520cb psrlh \$f3,\$f4,\$f5 86 .*: 4b08398b psrlw \$f6,\$f7,\$f8 87 .*: 4bcb5241 psubb \$f9,\$f10,\$f11 88 .*: 4b4e6b01 psubh \$f12,\$f13,\$f14 89 .*: 4b7183c1 psubw \$f15,\$f16,\$f17 90 .*: 4bf49c81 psubd \$f18,\$f19,\$f20 91 .*: 4b97b541 psubsb \$f21,\$f22,\$f23 92 .*: 4b1ace01 psubsh \$f24,\$f25,\$f26 93 .*: 4bbde6c1 psubusb \$f27,\$f28,\$f29 94 .*: 4b220801 psubush \$f0,\$f1,\$f2 95 .*: 4b6520c3 punpckhbh \$f3,\$f4,\$f5 96 .*: 4b283983 punpckhhw \$f6,\$f7,\$f8 97 .*: 4bab524b punpckhwd \$f9,\$f10,\$f11 98 .*: 4b4e6b03 punpcklbh \$f12,\$f13,\$f14 99 .*: 4b1183c3 punpcklhw \$f15,\$f16,\$f17 100 .*: 4b949c8b punpcklwd \$f18,\$f19,\$f20 101 102 [0-9a-f]+ <fixed_point_insns>: 103 .*: 4b42080c add \$f0,\$f1,\$f2 104 .*: 4b0520cc addu \$f3,\$f4,\$f5 105 .*: 4b68398c dadd \$f6,\$f7,\$f8 106 .*: 4b4b524d sub \$f9,\$f10,\$f11 107 .*: 4b0e6b0d subu \$f12,\$f13,\$f14 108 .*: 4b7183cd dsub \$f15,\$f16,\$f17 109 .*: 4b349c8c or \$f18,\$f19,\$f20 110 .*: 4b17b54e sll \$f21,\$f22,\$f23 111 .*: 4b3ace0e dsll \$f24,\$f25,\$f26 112 .*: 4b9de6c2 xor \$f27,\$f28,\$f29 113 .*: 4ba20802 nor \$f0,\$f1,\$f2 114 .*: 4bc520c2 and \$f3,\$f4,\$f5 115 .*: 4b08398f srl \$f6,\$f7,\$f8 116 .*: 4b2b524f dsrl \$f9,\$f10,\$f11 117 .*: 4b4e6b0f sra \$f12,\$f13,\$f14 118 .*: 4b7183cf dsra \$f15,\$f16,\$f17 119 .*: 4b93900c sequ \$f18,\$f19 120 .*: 4b95a00d sltu \$f20,\$f21 121 .*: 4b97b00e sleu \$f22,\$f23 122 .*: 4bb9c00c seq \$f24,\$f25 123 .*: 4bbbd00d slt \$f26,\$f27 124 .*: 4bbde00e sle \$f28,\$f29 125 126 000001ac <mips5_ps_insns>: 127 .*: 46c01005 abs.ps \$f0,\$f2 128 .*: 46c62080 add.ps \$f2,\$f4,\$f6 129 .*: 46ca4032 c.eq.ps \$f8,\$f10 130 .*: 46ca4030 c.f.ps \$f8,\$f10 131 .*: 46ca403e c.le.ps \$f8,\$f10 132 .*: 46ca403c c.lt.ps \$f8,\$f10 133 .*: 46ca403d c.nge.ps \$f8,\$f10 134 .*: 46ca403b c.ngl.ps \$f8,\$f10 135 .*: 46ca4039 c.ngle.ps \$f8,\$f10 136 .*: 46ca403f c.ngt.ps \$f8,\$f10 137 .*: 46ca4036 c.ole.ps \$f8,\$f10 138 .*: 46ca4034 c.olt.ps \$f8,\$f10 139 .*: 46ca403a c.seq.ps \$f8,\$f10 140 .*: 46ca4038 c.sf.ps \$f8,\$f10 141 .*: 46ca4033 c.ueq.ps \$f8,\$f10 142 .*: 46ca4037 c.ule.ps \$f8,\$f10 143 .*: 46ca4035 c.ult.ps \$f8,\$f10 144 .*: 46ca4031 c.un.ps \$f8,\$f10 145 .*: 46c0d606 mov.ps \$f24,\$f26 146 .*: 46c62082 mul.ps \$f2,\$f4,\$f6 147 .*: 46c04187 neg.ps \$f6,\$f8 148 .*: 46dac581 sub.ps \$f22,\$f24,\$f26 149 #pass 150 151