1# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s
2#
3# CHECK:        fill.b  $w30, $9                # encoding: [0x7b,0x00,0x4f,0x9e]
4# CHECK:        fill.h  $w31, $23               # encoding: [0x7b,0x01,0xbf,0xde]
5# CHECK:        fill.w  $w16, $24               # encoding: [0x7b,0x02,0xc4,0x1e]
6# CHECK:        nloc.b  $w21, $w0               # encoding: [0x7b,0x08,0x05,0x5e]
7# CHECK:        nloc.h  $w18, $w31              # encoding: [0x7b,0x09,0xfc,0x9e]
8# CHECK:        nloc.w  $w2, $w23               # encoding: [0x7b,0x0a,0xb8,0x9e]
9# CHECK:        nloc.d  $w4, $w10               # encoding: [0x7b,0x0b,0x51,0x1e]
10# CHECK:        nlzc.b  $w31, $w2               # encoding: [0x7b,0x0c,0x17,0xde]
11# CHECK:        nlzc.h  $w27, $w22              # encoding: [0x7b,0x0d,0xb6,0xde]
12# CHECK:        nlzc.w  $w10, $w29              # encoding: [0x7b,0x0e,0xea,0x9e]
13# CHECK:        nlzc.d  $w25, $w9               # encoding: [0x7b,0x0f,0x4e,0x5e]
14# CHECK:        pcnt.b  $w20, $w18              # encoding: [0x7b,0x04,0x95,0x1e]
15# CHECK:        pcnt.h  $w0, $w8                # encoding: [0x7b,0x05,0x40,0x1e]
16# CHECK:        pcnt.w  $w23, $w9               # encoding: [0x7b,0x06,0x4d,0xde]
17# CHECK:        pcnt.d  $w21, $w24              # encoding: [0x7b,0x07,0xc5,0x5e]
18
19                fill.b  $w30, $9
20                fill.h  $w31, $23
21                fill.w  $w16, $24
22                nloc.b  $w21, $w0
23                nloc.h  $w18, $w31
24                nloc.w  $w2, $w23
25                nloc.d  $w4, $w10
26                nlzc.b  $w31, $w2
27                nlzc.h  $w27, $w22
28                nlzc.w  $w10, $w29
29                nlzc.d  $w25, $w9
30                pcnt.b  $w20, $w18
31                pcnt.h  $w0, $w8
32                pcnt.w  $w23, $w9
33                pcnt.d  $w21, $w24
34