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=mips64r5 | 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.ob         $v22,$v19,$v30,$v1
15        alnv.ob         $v31,$v23,$v30,$at
16        alnv.ob         $v8,$v17,$v30,$a1
17        alnv.ps         $f12,$f18,$f30,$12
18        c.eq.d          $fcc1,$f15,$f15
19        c.eq.ps         $fcc5,$f0,$f9
20        c.eq.s          $fcc5,$f24,$f17
21        c.f.d           $fcc4,$f11,$f21
22        c.f.ps          $fcc6,$f11,$f11
23        c.f.s           $fcc4,$f30,$f7
24        c.le.d          $fcc4,$f18,$f1
25        c.le.ps         $fcc1,$f7,$f20
26        c.le.s          $fcc6,$f24,$f4
27        c.lt.d          $fcc3,$f9,$f3
28        c.lt.ps         $f19,$f5
29        c.lt.s          $fcc2,$f17,$f14
30        c.nge.d         $fcc5,$f21,$f16
31        c.nge.ps        $f1,$f26
32        c.nge.s         $fcc3,$f11,$f8
33        c.ngl.ps        $f21,$f30
34        c.ngl.s         $fcc2,$f31,$f23
35        c.ngle.ps       $fcc7,$f12,$f20
36        c.ngle.s        $fcc2,$f18,$f23
37        c.ngt.d         $fcc4,$f24,$f7
38        c.ngt.ps        $fcc5,$f30,$f6
39        c.ngt.s         $fcc5,$f8,$f13
40        c.ole.d         $fcc2,$f16,$f31
41        c.ole.ps        $fcc7,$f21,$f8
42        c.ole.s         $fcc3,$f7,$f20
43        c.olt.d         $fcc4,$f19,$f28
44        c.olt.ps        $fcc3,$f7,$f16
45        c.olt.s         $fcc6,$f20,$f7
46        c.seq.d         $fcc4,$f31,$f7
47        c.seq.ps        $fcc6,$f31,$f14
48        c.seq.s         $fcc7,$f1,$f25
49        c.sf.ps         $fcc6,$f4,$f6
50        c.ueq.d         $fcc4,$f13,$f25
51        c.ueq.ps        $fcc1,$f5,$f29
52        c.ueq.s         $fcc6,$f3,$f30
53        c.ule.d         $fcc7,$f25,$f18
54        c.ule.ps        $fcc6,$f17,$f3
55        c.ule.s         $fcc7,$f21,$f30
56        c.ult.d         $fcc6,$f6,$f17
57        c.ult.ps        $fcc7,$f14,$f0
58        c.ult.s         $fcc7,$f24,$f10
59        c.un.d          $fcc6,$f23,$f24
60        c.un.ps         $fcc4,$f2,$f26
61        c.un.s          $fcc1,$f30,$f4
62        cvt.ps.s        $f3,$f18,$f19
63        cvt.s.pl        $f30,$f1
64        cvt.s.pu        $f14,$f25
65        dmfc0           $10,c0_watchhi,2
66        dmfgc0          $gp,c0_perfcnt,6
67        dmt $k0
68        dmtc0           $15,c0_datalo
69        dmtgc0          $a2,c0_watchlo,2
70        drorv           $at,$a1,$s7
71        dvpe            $s6
72        emt $8
73        evpe            $v0
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        msgn.qh         $v0,$v24,$v20
92        msgn.qh         $v12,$v21,$v0[1]
93        msub.ps         $f12,$f14,$f29,$f17
94        mtc0            $9,c0_datahi1
95        mtgc0           $s4,$21,7
96        mul.ps          $f14,$f0,$f16
97        neg.ps          $f19,$f13
98        nmadd.ps        $f27,$f4,$f9,$f25
99        nmsub.ps        $f6,$f12,$f14,$f17
100        pll.ps          $f25,$f9,$f30
101        plu.ps          $f1,$f26,$f29
102        preceq.w.phl    $s8,$gp
103        preceq.w.phr    $s5,$15
104        pul.ps          $f9,$f30,$f26
105        puu.ps          $f24,$f9,$f2
106        rdpgpr          $s3,$9
107        recip.d         $f19,$f6
108        recip.s         $f3,$f30
109        rorv            $13,$a3,$s5
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        wrpgpr          $zero,$13
128        yield           $v1,$s0
129