1 #as: -march=loongson3a -mabi=o64 2 #objdump: -M reg-names=numeric -dr 3 #name: Loongson-3A tests 4 5 .*: file format .* 6 7 Disassembly of section .text: 8 9 [0-9a-f]+ <.text>: 10 .*: 70601075 campi \$2,\$3 11 .*: 70a02035 campv \$4,\$5 12 .*: 70e830b5 camwi \$6,\$7,\$8 13 .*: 714048f5 ramri \$9,\$10 14 .*: 716c0026 gsle \$11,\$12 15 .*: 71ae0027 gsgt \$13,\$14 16 .*: c8622010 gslble \$2,\$3,\$4 17 .*: c8c53811 gslbgt \$5,\$6,\$7 18 .*: c9285012 gslhle \$8,\$9,\$10 19 .*: c98b6813 gslhgt \$11,\$12,\$13 20 .*: c9ee8014 gslwle \$14,\$15,\$16 21 .*: ca519815 gslwgt \$17,\$18,\$19 22 .*: cab4b016 gsldle \$20,\$21,\$22 23 .*: cb17c817 gsldgt \$23,\$24,\$25 24 .*: e8622010 gssble \$2,\$3,\$4 25 .*: e8c53811 gssbgt \$5,\$6,\$7 26 .*: e9285012 gsshle \$8,\$9,\$10 27 .*: e98b6813 gsshgt \$11,\$12,\$13 28 .*: e9ee8014 gsswle \$14,\$15,\$16 29 .*: ea519815 gsswgt \$17,\$18,\$19 30 .*: eab4b016 gssdle \$20,\$21,\$22 31 .*: eb17c817 gssdgt \$23,\$24,\$25 32 .*: c8401818 gslwlec1 \$f0,\$2,\$3 33 .*: c8812819 gslwgtc1 \$f1,\$4,\$5 34 .*: c8c2381a gsldlec1 \$f2,\$6,\$7 35 .*: c903481b gsldgtc1 \$f3,\$8,\$9 36 .*: e944581c gsswlec1 \$f4,\$10,\$11 37 .*: e985681d gsswgtc1 \$f5,\$12,\$13 38 .*: e9c6781e gssdlec1 \$f6,\$14,\$15 39 .*: ea07881f gssdgtc1 \$f7,\$16,\$17 40 .*: ca480004 gslwlc1 \$f8,0\(\$18\) 41 .*: ca690045 gslwrc1 \$f9,1\(\$19\) 42 .*: ca8a0086 gsldlc1 \$f10,2\(\$20\) 43 .*: caab00c7 gsldrc1 \$f11,3\(\$21\) 44 .*: eacc0104 gsswlc1 \$f12,4\(\$22\) 45 .*: eaed0145 gsswrc1 \$f13,5\(\$23\) 46 .*: eb0e0186 gssdlc1 \$f14,6\(\$24\) 47 .*: eb2f01c7 gssdrc1 \$f15,7\(\$25\) 48 .*: d8622000 gslbx \$2,0\(\$3,\$4\) 49 .*: d8c53ff9 gslhx \$5,-1\(\$6,\$7\) 50 .*: d92857f2 gslwx \$8,-2\(\$9,\$10\) 51 .*: d98b6feb gsldx \$11,-3\(\$12,\$13\) 52 .*: f9ee87e0 gssbx \$14,-4\(\$15,\$16\) 53 .*: fa519fd9 gsshx \$17,-5\(\$18,\$19\) 54 .*: fab4b7d2 gsswx \$20,-6\(\$21,\$22\) 55 .*: fb17cfcb gssdx \$23,-7\(\$24,\$25\) 56 .*: d8501bfe gslwxc1 \$f16,127\(\$2,\$3\) 57 .*: d8912c07 gsldxc1 \$f17,-128\(\$4,\$5\) 58 .*: f8d23bfe gsswxc1 \$f18,127\(\$6,\$7\) 59 .*: f9134c07 gssdxc1 \$f19,-128\(\$8,\$9\) 60 .*: c98b3fea gslq \$10,\$11,4080\(\$12\) 61 .*: e9ee402d gssq \$13,\$14,-4096\(\$15\) 62 .*: ca15bff4 gslqc1 \$f20,\$f21,4080\(\$16\) 63 .*: ea37c036 gssqc1 \$f22,\$f23,-4096\(\$17\) 64 #pass 65 66