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=mips-unknown-linux -show-encoding -mcpu=mips32r5 | not FileCheck %s
6# CHECK-NOT: encoding
7# XFAIL: *
8
9        .set noat
10        abs.ps          $f22,$f8
11        add.ps          $f25,$f27,$f13
12        addqh.w         $s7,$s7,$k1
13        addqh_r.w       $8,$v1,$zero
14        alnv.ps         $f12,$f18,$f30,$12
15        c.eq.d          $fcc1,$f15,$f15
16        c.eq.ps         $fcc5,$f0,$f9
17        c.eq.s          $fcc5,$f24,$f17
18        c.f.d           $fcc4,$f11,$f21
19        c.f.ps          $fcc6,$f11,$f11
20        c.f.s           $fcc4,$f30,$f7
21        c.le.d          $fcc4,$f18,$f1
22        c.le.ps         $fcc1,$f7,$f20
23        c.le.s          $fcc6,$f24,$f4
24        c.lt.d          $fcc3,$f9,$f3
25        c.lt.ps         $f19,$f5
26        c.lt.s          $fcc2,$f17,$f14
27        c.nge.d         $fcc5,$f21,$f16
28        c.nge.ps        $f1,$f26
29        c.nge.s         $fcc3,$f11,$f8
30        c.ngl.ps        $f21,$f30
31        c.ngl.s         $fcc2,$f31,$f23
32        c.ngle.ps       $fcc7,$f12,$f20
33        c.ngle.s        $fcc2,$f18,$f23
34        c.ngt.d         $fcc4,$f24,$f7
35        c.ngt.ps        $fcc5,$f30,$f6
36        c.ngt.s         $fcc5,$f8,$f13
37        c.ole.d         $fcc2,$f16,$f31
38        c.ole.ps        $fcc7,$f21,$f8
39        c.ole.s         $fcc3,$f7,$f20
40        c.olt.d         $fcc4,$f19,$f28
41        c.olt.ps        $fcc3,$f7,$f16
42        c.olt.s         $fcc6,$f20,$f7
43        c.seq.d         $fcc4,$f31,$f7
44        c.seq.ps        $fcc6,$f31,$f14
45        c.seq.s         $fcc7,$f1,$f25
46        c.sf.ps         $fcc6,$f4,$f6
47        c.ueq.d         $fcc4,$f13,$f25
48        c.ueq.ps        $fcc1,$f5,$f29
49        c.ueq.s         $fcc6,$f3,$f30
50        c.ule.d         $fcc7,$f25,$f18
51        c.ule.ps        $fcc6,$f17,$f3
52        c.ule.s         $fcc7,$f21,$f30
53        c.ult.d         $fcc6,$f6,$f17
54        c.ult.ps        $fcc7,$f14,$f0
55        c.ult.s         $fcc7,$f24,$f10
56        c.un.d          $fcc6,$f23,$f24
57        c.un.ps         $fcc4,$f2,$f26
58        c.un.s          $fcc1,$f30,$f4
59        ceil.l.d        $f1,$f3
60        ceil.l.s        $f18,$f13
61        cfcmsa          $s6,$19
62        ctcmsa          $31,$s7
63        cvt.d.l         $f4,$f16
64        cvt.ps.s        $f3,$f18,$f19
65        cvt.s.l         $f15,$f30
66        cvt.s.pl        $f30,$f1
67        cvt.s.pu        $f14,$f25
68        dmt $k0
69        dvpe            $s6
70        emt $8
71        evpe            $v0
72        floor.l.d       $f26,$f7
73        floor.l.s       $f12,$f5
74        fork            $s2,$8,$a0
75        iret
76        lbe             $14,122($9)
77        lbue            $11,-108($10)
78        lhe             $s6,219($v1)
79        lhue            $gp,118($11)
80        lle             $gp,-237($ra)
81        lwe             $ra,-145($14)
82        lwle            $11,-42($11)
83        lwre            $sp,-152($24)
84        madd.ps         $f22,$f3,$f14,$f3
85        mfgc0           $s6,c0_datahi1
86        mov.ps          $f22,$f17
87        movf.ps         $f10,$f28,$fcc6
88        movn.ps         $f31,$f31,$s3
89        movt.ps         $f20,$f25,$fcc2
90        movz.ps         $f18,$f17,$ra
91        msub.ps         $f12,$f14,$f29,$f17
92        mtc0            $9,c0_datahi1
93        mtgc0           $s4,$21,7
94        mul.ps          $f14,$f0,$f16
95        neg.ps          $f19,$f13
96        nmadd.ps        $f27,$f4,$f9,$f25
97        nmsub.ps        $f6,$f12,$f14,$f17
98        pll.ps          $f25,$f9,$f30
99        plu.ps          $f1,$f26,$f29
100        preceq.w.phl    $s8,$gp
101        preceq.w.phr    $s5,$15
102        pul.ps          $f9,$f30,$f26
103        puu.ps          $f24,$f9,$f2
104        rdpgpr          $s3,$9
105        recip.d         $f19,$f6
106        recip.s         $f3,$f30
107        rorv            $13,$a3,$s5
108        round.l.d       $f12,$f1
109        round.l.s       $f25,$f5
110        rsqrt.d         $f3,$f28
111        rsqrt.s         $f4,$f8
112        sbe             $s7,33($s1)
113        sce             $sp,189($10)
114        she             $24,105($v0)
115        sub.ps          $f5,$f14,$f26
116        swe             $24,94($k0)
117        swle            $v1,-209($gp)
118        swre            $k0,-202($s2)
119        tlbginv
120        tlbginvf
121        tlbgp
122        tlbgr
123        tlbgwi
124        tlbgwr
125        tlbinv
126        tlbinvf
127        trunc.l.d       $f23,$f23
128        trunc.l.s       $f28,$f31
129        wrpgpr          $zero,$13
130        yield           $v1,$s0
131