• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Instructions that should be valid but currently fail for known reasons (e.g.
2# they aren't implemented yet).
3# This test is set up to XPASS if any instruction generates an encoding.
4#
5# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 | not FileCheck %s
6# CHECK-NOT: encoding
7# XFAIL: *
8
9        .set noat
10        abs.ps          $f22,$f8
11        absq_s.ph       $8,$a0
12        absq_s.qb       $15,$s1
13        absq_s.w        $s3,$ra
14        add.ps          $f25,$f27,$f13
15        addq.ph         $s1,$15,$at
16        addq_s.ph       $s3,$s6,$s2
17        addq_s.w        $a2,$8,$at
18        addqh.ph        $s4,$14,$s1
19        addqh.w         $s7,$s7,$k1
20        addqh_r.ph      $sp,$25,$s8
21        addqh_r.w       $8,$v1,$zero
22        addsc           $s8,$15,$12
23        addu.ph         $a2,$14,$s3
24        addu.qb         $s6,$v1,$v1
25        addu_s.ph       $a3,$s3,$gp
26        addu_s.qb       $s4,$s8,$s1
27        adduh.qb        $a1,$a1,$at
28        adduh_r.qb      $a0,$9,$12
29        addwc           $k0,$s6,$s7
30        alnv.ob         $v22,$v19,$v30,$v1
31        alnv.ob         $v31,$v23,$v30,$at
32        alnv.ob         $v8,$v17,$v30,$a1
33        alnv.ps         $f12,$f18,$f30,$12
34        and.v           $w10,$w25,$w29
35        bitrev          $14,$at
36        bmnz.v          $w15,$w2,$w28
37        bmz.v           $w13,$w11,$w21
38        bsel.v          $w28,$w7,$w0
39        c.eq.d          $fcc1,$f15,$f15
40        c.eq.ps         $fcc5,$f0,$f9
41        c.eq.s          $fcc5,$f24,$f17
42        c.f.d           $fcc4,$f11,$f21
43        c.f.ps          $fcc6,$f11,$f11
44        c.f.s           $fcc4,$f30,$f7
45        c.le.d          $fcc4,$f18,$f1
46        c.le.ps         $fcc1,$f7,$f20
47        c.le.s          $fcc6,$f24,$f4
48        c.lt.d          $fcc3,$f9,$f3
49        c.lt.ps         $f19,$f5
50        c.lt.s          $fcc2,$f17,$f14
51        c.nge.d         $fcc5,$f21,$f16
52        c.nge.ps        $f1,$f26
53        c.nge.s         $fcc3,$f11,$f8
54        c.ngl.ps        $f21,$f30
55        c.ngl.s         $fcc2,$f31,$f23
56        c.ngle.ps       $fcc7,$f12,$f20
57        c.ngle.s        $fcc2,$f18,$f23
58        c.ngt.d         $fcc4,$f24,$f7
59        c.ngt.ps        $fcc5,$f30,$f6
60        c.ngt.s         $fcc5,$f8,$f13
61        c.ole.d         $fcc2,$f16,$f31
62        c.ole.ps        $fcc7,$f21,$f8
63        c.ole.s         $fcc3,$f7,$f20
64        c.olt.d         $fcc4,$f19,$f28
65        c.olt.ps        $fcc3,$f7,$f16
66        c.olt.s         $fcc6,$f20,$f7
67        c.seq.d         $fcc4,$f31,$f7
68        c.seq.ps        $fcc6,$f31,$f14
69        c.seq.s         $fcc7,$f1,$f25
70        c.sf.ps         $fcc6,$f4,$f6
71        c.ueq.d         $fcc4,$f13,$f25
72        c.ueq.ps        $fcc1,$f5,$f29
73        c.ueq.s         $fcc6,$f3,$f30
74        c.ule.d         $fcc7,$f25,$f18
75        c.ule.ps        $fcc6,$f17,$f3
76        c.ule.s         $fcc7,$f21,$f30
77        c.ult.d         $fcc6,$f6,$f17
78        c.ult.ps        $fcc7,$f14,$f0
79        c.ult.s         $fcc7,$f24,$f10
80        c.un.d          $fcc6,$f23,$f24
81        c.un.ps         $fcc4,$f2,$f26
82        c.un.s          $fcc1,$f30,$f4
83        cvt.ps.s        $f3,$f18,$f19
84        cmp.eq.ph       $s7,$14
85        cmp.le.ph       $8,$14
86        cmp.lt.ph       $k0,$sp
87        cmpgdu.eq.qb    $s3,$zero,$k0
88        cmpgdu.le.qb    $v1,$15,$s2
89        cmpgdu.lt.qb    $s0,$gp,$sp
90        cmpgu.eq.qb     $14,$s6,$s8
91        cmpgu.le.qb     $9,$a3,$s4
92        cmpgu.lt.qb     $sp,$at,$8
93        cmpu.eq.qb      $v0,$24
94        cmpu.le.qb      $s1,$a1
95        cmpu.lt.qb      $at,$a3
96        cvt.s.pl        $f30,$f1
97        cvt.s.pu        $f14,$f25
98        dmfc0           $10,c0_watchhi,2
99        dmfgc0          $gp,c0_perfcnt,6
100        dmt $k0
101        dmtc0           $15,c0_datalo
102        dmtgc0          $a2,c0_watchlo,2
103        dpa.w.ph        $ac1,$s7,$k0
104        dpaq_s.w.ph     $ac2,$a0,$13
105        dpaq_sa.l.w     $ac0,$a2,$14
106        dpaqx_s.w.ph    $ac3,$a0,$24
107        dpaqx_sa.w.ph   $ac1,$zero,$s5
108        dpau.h.qbl      $ac1,$10,$24
109        dpau.h.qbr      $ac1,$s7,$s6
110        dpax.w.ph       $ac3,$a0,$k0
111        dps.w.ph        $ac1,$a3,$a1
112        dpsq_s.w.ph     $ac0,$gp,$k0
113        dpsq_sa.l.w     $ac0,$a3,$15
114        dpsqx_s.w.ph    $ac3,$13,$a3
115        dpsqx_sa.w.ph   $ac3,$sp,$s2
116        dpsu.h.qbl      $ac2,$14,$10
117        dpsu.h.qbr      $ac2,$a1,$s6
118        dpsx.w.ph       $ac0,$s7,$gp
119        drorv           $at,$a1,$s7
120        dvpe            $s6
121        emt $8
122        evpe            $v0
123        extpdpv         $s6,$ac0,$s8
124        extpv           $13,$ac0,$14
125        extrv.w         $8,$ac3,$at
126        extrv_r.w       $8,$ac1,$s6
127        extrv_rs.w      $gp,$ac1,$s6
128        extrv_s.h       $s2,$ac1,$14
129        fclass.d        $w14,$w27
130        fclass.w        $w19,$w28
131        fexupl.d        $w10,$w29
132        fexupl.w        $w12,$w27
133        fexupr.d        $w31,$w15
134        fexupr.w        $w29,$w12
135        ffint_s.d       $w1,$w30
136        ffint_s.w       $w16,$w14
137        ffint_u.d       $w23,$w18
138        ffint_u.w       $w19,$w12
139        ffql.d          $w2,$w3
140        ffql.w          $w9,$w0
141        ffqr.d          $w25,$w24
142        ffqr.w          $w10,$w6
143        fill.b          $w9,$v1
144        fill.d          $w28,$8
145        fill.h          $w9,$8
146        fill.w          $w31,$15
147        flog2.d         $w12,$w16
148        flog2.w         $w19,$w23
149        fork            $s2,$8,$a0
150        frcp.d          $w12,$w4
151        frcp.w          $w30,$w8
152        frint.d         $w20,$w8
153        frint.w         $w11,$w29
154        frsqrt.d        $w29,$w2
155        frsqrt.w        $w9,$w8
156        fsqrt.d         $w3,$w1
157        fsqrt.w         $w5,$w15
158        ftint_s.d       $w31,$w26
159        ftint_s.w       $w27,$w14
160        ftint_u.d       $w5,$w31
161        ftint_u.w       $w12,$w29
162        ftrunc_s.d      $w4,$w22
163        ftrunc_s.w      $w24,$w7
164        ftrunc_u.d      $w20,$w25
165        ftrunc_u.w      $w7,$w26
166        insv            $s2,$at
167        iret
168        lbe $14,122($9)
169        lbue            $11,-108($10)
170        lbux            $9,$14($v0)
171        lhe $s6,219($v1)
172        lhue            $gp,118($11)
173        lhx $sp,$k0($15)
174        lle $gp,-237($ra)
175        lwe $ra,-145($14)
176        lwle            $11,-42($11)
177        lwre            $sp,-152($24)
178        lwx $12,$12($s4)
179        madd.d          $f18,$f19,$f26,$f20
180        madd.ps         $f22,$f3,$f14,$f3
181        maq_s.w.phl     $ac2,$25,$11
182        maq_s.w.phr     $ac0,$10,$25
183        maq_sa.w.phl    $ac3,$a1,$v1
184        maq_sa.w.phr    $ac1,$at,$10
185        mfgc0           $s6,c0_datahi1
186        mflo            $9,$ac2
187        modsub          $a3,$12,$a3
188        mov.ps          $f22,$f17
189        movf.ps         $f10,$f28,$fcc6
190        movn.ps         $f31,$f31,$s3
191        movt.ps         $f20,$f25,$fcc2
192        movz.ps         $f18,$f17,$ra
193        msgn.qh         $v0,$v24,$v20
194        msgn.qh         $v12,$v21,$v0[1]
195        msub            $ac2,$sp,$14
196        msub.d          $f10,$f1,$f31,$f18
197        msub.ps         $f12,$f14,$f29,$f17
198        msubu           $ac2,$a1,$24
199        mtc0            $9,c0_datahi1
200        mtgc0           $s4,$21,7
201        mthi            $v0,$ac1
202        mthlip          $a3,$ac0
203        mul.ph          $s4,$24,$s0
204        mul.ps          $f14,$f0,$f16
205        mul_s.ph        $10,$14,$15
206        muleq_s.w.phl   $11,$s4,$s4
207        muleq_s.w.phr   $s6,$a0,$s8
208        muleu_s.ph.qbl  $a2,$14,$8
209        muleu_s.ph.qbr  $a1,$ra,$9
210        mulq_rs.ph      $s2,$14,$15
211        mulq_rs.w       $at,$s4,$25
212        mulq_s.ph       $s0,$k1,$15
213        mulq_s.w        $9,$a3,$s0
214        mulsa.w.ph      $ac1,$s4,$s6
215        mulsaq_s.w.ph   $ac0,$ra,$s2
216        neg.ps          $f19,$f13
217        nloc.b          $w12,$w30
218        nloc.d          $w16,$w7
219        nloc.h          $w21,$w17
220        nloc.w          $w17,$w16
221        nlzc.b          $w12,$w7
222        nlzc.d          $w14,$w14
223        nlzc.h          $w24,$w24
224        nlzc.w          $w10,$w4
225        nmadd.d         $f18,$f9,$f14,$f19
226        nmadd.ps        $f27,$f4,$f9,$f25
227        nmsub.d         $f30,$f8,$f16,$f30
228        nmsub.ps        $f6,$f12,$f14,$f17
229        nor.v           $w20,$w20,$w15
230        or.v            $w13,$w23,$w12
231        packrl.ph       $ra,$24,$14
232        pcnt.b          $w30,$w15
233        pcnt.d          $w5,$w16
234        pcnt.h          $w20,$w24
235        pcnt.w          $w22,$w20
236        pick.ph         $ra,$a2,$gp
237        pick.qb         $11,$a0,$gp
238        pll.ps          $f25,$f9,$f30
239        plu.ps          $f1,$f26,$f29
240        preceq.w.phl    $s8,$gp
241        preceq.w.phr    $s5,$15
242        precequ.ph.qbl  $s7,$ra
243        precequ.ph.qbla $a0,$9
244        precequ.ph.qbr  $ra,$s3
245        precequ.ph.qbra $24,$8
246        preceu.ph.qbl   $sp,$8
247        preceu.ph.qbla  $s6,$11
248        preceu.ph.qbr   $gp,$s1
249        preceu.ph.qbra  $k1,$s0
250        precr.qb.ph     $v0,$12,$s8
251        precrq.ph.w     $14,$s8,$24
252        precrq.qb.ph    $a2,$12,$12
253        precrq_rs.ph.w  $a1,$k0,$a3
254        precrqu_s.qb.ph $zero,$gp,$s5
255        pul.ps          $f9,$f30,$f26
256        puu.ps          $f24,$f9,$f2
257        raddu.w.qb      $25,$s3
258        rdpgpr          $s3,$9
259        recip.d         $f19,$f6
260        recip.s         $f3,$f30
261        repl.ph         $at,-307
262        replv.ph        $v1,$s7
263        replv.qb        $25,$12
264        rorv            $13,$a3,$s5
265        rsqrt.d         $f3,$f28
266        rsqrt.s         $f4,$f8
267        sbe $s7,33($s1)
268        sce $sp,189($10)
269        she $24,105($v0)
270        shilo           $ac1,26
271        shilov          $ac2,$10
272        shllv.ph        $10,$s0,$s0
273        shllv.qb        $gp,$v1,$zero
274        shllv_s.ph      $k1,$at,$13
275        shllv_s.w       $s1,$ra,$k0
276        shrav.ph        $25,$s2,$s1
277        shrav.qb        $zero,$24,$11
278        shrav_r.ph      $s3,$11,$25
279        shrav_r.qb      $a0,$sp,$s5
280        shrav_r.w       $s7,$s4,$s6
281        shrlv.ph        $14,$10,$9
282        shrlv.qb        $a2,$s2,$11
283        sub.ps          $f5,$f14,$f26
284        subq.ph         $ra,$9,$s8
285        subq_s.ph       $13,$s8,$s5
286        subq_s.w        $k1,$a2,$a3
287        subqh.ph        $10,$at,$9
288        subqh.w         $v0,$a2,$zero
289        subqh_r.ph      $a0,$12,$s6
290        subqh_r.w       $10,$a2,$gp
291        subu.ph         $9,$s6,$s4
292        subu.qb         $s6,$a2,$s6
293        subu_s.ph       $v1,$a1,$s3
294        subu_s.qb       $s1,$at,$ra
295        subuh.qb        $zero,$gp,$gp
296        subuh_r.qb      $s4,$s8,$s6
297        swe $24,94($k0)
298        swle            $v1,-209($gp)
299        swre            $k0,-202($s2)
300        synci           20023($s0)
301        tlbginv
302        tlbginvf
303        tlbgp
304        tlbgr
305        tlbgwi
306        tlbgwr
307        tlbinv
308        tlbinvf
309        wrpgpr          $zero,$13
310        xor.v           $w20,$w21,$w30
311        yield           $v1,$s0
312