brintos

brintos / llvm-project-archived public Read only

0
0
Text · 17.7 KiB · f28422a Raw
347 lines · plain
1# RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+v %s \2# RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+zve32x %s 2>&1 \4# RUN:        | FileCheck %s --check-prefix=CHECK-ZVE32X5# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \6# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR7# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+v %s \8# RUN:        | llvm-objdump -d --mattr=+v --no-print-imm-hex - \9# RUN:        | FileCheck %s --check-prefix=CHECK-INST10# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+v %s \11# RUN:        | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN12 13# reserved filed: vlmul[2:0]=4, vsew[2:0]=0b1xx, non-zero bits 8/9/10.14vsetvli a2, a0, 0x22415# CHECK-INST: vsetvli a2, a0, 54816# CHECK-ENCODING: [0x57,0x76,0x45,0x22]17# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}18# CHECK-UNKNOWN: 22457657 <unknown>19 20vsetvli a2, a0, 0xd021# CHECK-INST: vsetvli a2, a0, e32, m1, ta, ma22# CHECK-ENCODING: [0x57,0x76,0x05,0x0d]23# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}24# CHECK-UNKNOWN: 0d057657 <unknown>25 26vsetvli a2, a0, 0xd127# CHECK-INST: vsetvli a2, a0, e32, m2, ta, ma28# CHECK-ENCODING: [0x57,0x76,0x15,0x0d]29# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}30# CHECK-UNKNOWN: 0d157657 <unknown>31 32vsetvli a2, a0, 0x5033# CHECK-INST: vsetvli a2, a0, e32, m1, ta, mu34# CHECK-ENCODING: [0x57,0x76,0x05,0x05]35# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}36# CHECK-UNKNOWN: 05057657 <unknown>37 38vsetvli a2, a0, 0x9039# CHECK-INST: vsetvli a2, a0, e32, m1, tu, ma40# CHECK-ENCODING: [0x57,0x76,0x05,0x09]41# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}42# CHECK-UNKNOWN: 09057657 <unknown>43 44vsetvli a2, a0, 14445# CHECK-INST: vsetvli a2, a0, e32, m1, tu, ma46# CHECK-ENCODING: [0x57,0x76,0x05,0x09]47# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}48# CHECK-UNKNOWN: 09057657 <unknown>49 50vsetvli a2, a0, e32, m1, ta, ma51# CHECK-INST:  vsetvli a2, a0, e32,  m1,  ta,  ma52# CHECK-ENCODING: [0x57,0x76,0x05,0x0d]53# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}54# CHECK-UNKNOWN: 0d057657 <unknown>55 56vsetvli a2, a0, e32, m2, ta, ma57# CHECK-INST: vsetvli a2, a0, e32, m2, ta, ma58# CHECK-ENCODING: [0x57,0x76,0x15,0x0d]59# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}60# CHECK-UNKNOWN: 0d157657 <unknown>61 62vsetvli a2, a0, e32, m4, ta, ma63# CHECK-INST: vsetvli a2, a0, e32, m4, ta, ma64# CHECK-ENCODING: [0x57,0x76,0x25,0x0d]65# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}66# CHECK-UNKNOWN: 0d257657 <unknown>67 68vsetvli a2, a0, e32, m8, ta, ma69# CHECK-INST: vsetvli a2, a0, e32, m8, ta, ma70# CHECK-ENCODING: [0x57,0x76,0x35,0x0d]71# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}72# CHECK-UNKNOWN: 0d357657 <unknown>73 74vsetvli a2, a0, e32, mf2, ta, ma75# CHECK-INST: vsetvli a2, a0, e32, mf2, ta, ma76# CHECK-ZVE32X: :[[#@LINE-2]]:17: warning: use of vtype encodings with SEW > 16 and LMUL == mf2 may not be compatible with all RVV implementations{{$}}77# CHECK-ENCODING: [0x57,0x76,0x75,0x0d]78# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}79# CHECK-UNKNOWN: 0d757657 <unknown>80 81vsetvli a2, a0, e32, mf4, ta, ma82# CHECK-INST: vsetvli a2, a0, e32, mf4, ta, ma83# CHECK-ZVE32X: :[[#@LINE-2]]:17: warning: use of vtype encodings with SEW > 8 and LMUL == mf4 may not be compatible with all RVV implementations{{$}}84# CHECK-ENCODING: [0x57,0x76,0x65,0x0d]85# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}86# CHECK-UNKNOWN: 0d657657 <unknown>87 88vsetvli a2, a0, e32, mf8, ta, ma89# CHECK-INST: vsetvli a2, a0, e32, mf8, ta, ma90# CHECK-ZVE32X: :[[#@LINE-2]]:22: warning: use of vtype encodings with LMUL < SEWMIN/ELEN == mf4 is reserved{{$}}91# CHECK-ENCODING: [0x57,0x76,0x55,0x0d]92# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}93# CHECK-UNKNOWN: 0d557657 <unknown>94 95vsetvli a2, a0, e32, m1, ta, ma96# CHECK-INST: vsetvli a2, a0, e32, m1, ta, ma97# CHECK-ENCODING: [0x57,0x76,0x05,0x0d]98# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}99# CHECK-UNKNOWN: 0d057657 <unknown>100 101vsetvli a2, a0, e32, m1, tu, ma102# CHECK-INST: vsetvli a2, a0, e32, m1, tu, ma103# CHECK-ENCODING: [0x57,0x76,0x05,0x09]104# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}105# CHECK-UNKNOWN: 09057657 <unknown>106 107vsetvli a2, a0, e32, m1, ta, mu108# CHECK-INST: vsetvli a2, a0, e32, m1, ta, mu109# CHECK-ENCODING: [0x57,0x76,0x05,0x05]110# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}111# CHECK-UNKNOWN: 05057657 <unknown>112 113vsetvli a2, a0, e32, m1, tu, mu114# CHECK-INST: vsetvli a2, a0, e32, m1115# CHECK-ENCODING: [0x57,0x76,0x05,0x01]116# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}117# CHECK-UNKNOWN: 01057657 <unknown>118 119vsetvli a2, a0, 0120# CHECK-INST: vsetvli a2, a0, e8, m1, tu, mu121# CHECK-ENCODING: [0x57,0x76,0x05,0x00]122# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}123# CHECK-UNKNOWN: 00057657 <unknown>124 125vsetvli a2, a0, e16126# CHECK-INST: vsetvli a2, a0, e16, m1, tu, mu127# CHECK-ENCODING: [0x57,0x76,0x85,0x00]128# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}129# CHECK-UNKNOWN: 00857657 <unknown>130 131vsetvli a2, a0, m2132# CHECK-INST: vsetvli a2, a0, e8, m2, tu, mu133# CHECK-ENCODING: [0x57,0x76,0x15,0x00]134# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}135# CHECK-UNKNOWN: 00157657 <unknown>136 137vsetvli a2, a0, ta138# CHECK-INST: vsetvli a2, a0, e8, m1, ta, mu139# CHECK-ENCODING: [0x57,0x76,0x05,0x04]140# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}141# CHECK-UNKNOWN: 04057657 <unknown>142 143vsetvli a2, a0, ma144# CHECK-INST: vsetvli a2, a0, e8, m1, tu, ma145# CHECK-ENCODING: [0x57,0x76,0x05,0x08]146# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}147# CHECK-UNKNOWN: 08057657 <unknown>148 149vsetvli a2, a0, m2, ta, ma150# CHECK-INST: vsetvli a2, a0, e8, m2, ta, ma151# CHECK-ENCODING: [0x57,0x76,0x15,0x0c]152# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}153# CHECK-UNKNOWN: 0c157657 <unknown>154 155vsetvli a2, a0, e32, ta, ma156# CHECK-INST: vsetvli a2, a0, e32, m1, ta, ma157# CHECK-ENCODING: [0x57,0x76,0x05,0x0d]158# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}159# CHECK-UNKNOWN: 0d057657 <unknown>160 161vsetvli a2, a0, e32, m2, ma162# CHECK-INST: vsetvli a2, a0, e32, m2, tu, ma163# CHECK-ENCODING: [0x57,0x76,0x15,0x09]164# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}165# CHECK-UNKNOWN: 09157657 <unknown>166 167vsetvli a2, a0, e32, m2, ta168# CHECK-INST: vsetvli a2, a0, e32, m2, ta, mu169# CHECK-ENCODING: [0x57,0x76,0x15,0x05]170# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}171# CHECK-UNKNOWN: 05157657 <unknown>172 173vsetvli a2, a0, ta, ma174# CHECK-INST: vsetvli a2, a0, e8, m1, ta, ma175# CHECK-ENCODING: [0x57,0x76,0x05,0x0c]176# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}177# CHECK-UNKNOWN: 0c057657 <unknown>178 179vsetvli a2, a0, m2, ma180# CHECK-INST: vsetvli a2, a0, e8, m2, tu, ma181# CHECK-ENCODING: [0x57,0x76,0x15,0x08]182# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}183# CHECK-UNKNOWN: 08157657 <unknown>184 185vsetvli a2, a0, m2, ta186# CHECK-INST: vsetvli a2, a0, e8, m2, ta, mu187# CHECK-ENCODING: [0x57,0x76,0x15,0x04]188# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}189# CHECK-UNKNOWN: 04157657 <unknown>190 191vsetvli a2, a0, e32, ma192# CHECK-INST: vsetvli a2, a0, e32, m1, tu, ma193# CHECK-ENCODING: [0x57,0x76,0x05,0x09]194# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}195# CHECK-UNKNOWN: 09057657 <unknown>196 197vsetvli a2, a0, e32, ta198# CHECK-INST: vsetvli a2, a0, e32, m1, ta, mu199# CHECK-ENCODING: [0x57,0x76,0x05,0x05]200# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}201# CHECK-UNKNOWN: 05057657 <unknown>202 203vsetvli a2, a0, e32, m2204# CHECK-INST: vsetvli a2, a0, e32, m2, tu, mu205# CHECK-ENCODING: [0x57,0x76,0x15,0x01]206# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}207# CHECK-UNKNOWN: 01157657 <unknown>208 209vsetvl a2, a0, a1210# CHECK-INST: vsetvl a2, a0, a1211# CHECK-ENCODING: [0x57,0x76,0xb5,0x80]212# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}213# CHECK-UNKNOWN: 80b57657 <unknown>214 215# reserved filed: vlmul[2:0]=4, vsew[2:0]=0b1xx, non-zero bits 8/9/10.216vsetivli a2, 0, 0x224217# CHECK-INST: vsetivli a2, 0, 548218# CHECK-ENCODING: [0x57,0x76,0x40,0xe2]219# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}220# CHECK-UNKNOWN: e2407657 <unknown>221 222vsetivli a2, 0, 0xd0223# CHECK-INST: vsetivli a2, 0, e32, m1, ta, ma224# CHECK-ENCODING: [0x57,0x76,0x00,0xcd]225# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}226# CHECK-UNKNOWN: cd007657 <unknown>227 228vsetivli a2, 15, 0xd0229# CHECK-INST: vsetivli a2, 15, e32, m1, ta, ma230# CHECK-ENCODING: [0x57,0xf6,0x07,0xcd]231# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}232# CHECK-UNKNOWN: cd07f657 <unknown>233 234vsetivli a2, 15, 208235# CHECK-INST: vsetivli a2, 15, e32, m1, ta, ma236# CHECK-ENCODING: [0x57,0xf6,0x07,0xcd]237# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}238# CHECK-UNKNOWN: cd07f657 <unknown>239 240vsetivli a2, 0, e32, m1, ta, ma241# CHECK-INST: vsetivli a2, 0, e32, m1, ta, ma242# CHECK-ENCODING: [0x57,0x76,0x00,0xcd]243# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}244# CHECK-UNKNOWN: cd007657 <unknown>245 246vsetivli a2, 15, e32, m1, ta, ma247# CHECK-INST: vsetivli a2, 15, e32, m1, ta, ma248# CHECK-ENCODING: [0x57,0xf6,0x07,0xcd]249# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}250# CHECK-UNKNOWN: cd07f657 <unknown>251 252vsetivli a2, 31, e32, m1, ta, ma253# CHECK-INST: vsetivli a2, 31, e32, m1, ta, ma254# CHECK-ENCODING: [0x57,0xf6,0x0f,0xcd]255# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}256# CHECK-UNKNOWN: cd0ff657 <unknown>257 258vsetivli a2, 1, 0259# CHECK-INST: vsetivli a2, 1, e8, m1, tu, mu260# CHECK-ENCODING: [0x57,0xf6,0x00,0xc0]261# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}262# CHECK-UNKNOWN: c000f657 <unknown>263 264vsetivli a2, 1, e16265# CHECK-INST: vsetivli a2, 1, e16, m1, tu, mu266# CHECK-ENCODING: [0x57,0xf6,0x80,0xc0]267# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}268# CHECK-UNKNOWN: c080f657 <unknown>269 270vsetivli a2, 1, m2271# CHECK-INST:  vsetivli a2, 1, e8, m2, tu, mu272# CHECK-ENCODING: [0x57,0xf6,0x10,0xc0]273# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}274# CHECK-UNKNOWN: c010f657 <unknown>275 276vsetivli a2, 1, ta277# CHECK-INST: vsetivli a2, 1, e8, m1, ta, mu278# CHECK-ENCODING: [0x57,0xf6,0x00,0xc4]279# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}280# CHECK-UNKNOWN: c400f657 <unknown>281 282vsetivli a2, 1, ma283# CHECK-INST: vsetivli a2, 1, e8, m1, tu, ma284# CHECK-ENCODING: [0x57,0xf6,0x00,0xc8]285# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}286# CHECK-UNKNOWN: c800f657 <unknown>287 288vsetivli a2, 1, m2, ta, ma289# CHECK-INST: vsetivli a2, 1, e8, m2, ta, ma290# CHECK-ENCODING: [0x57,0xf6,0x10,0xcc]291# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}292# CHECK-UNKNOWN: cc10f657 <unknown>293 294vsetivli a2, 1, e32, ta, ma295# CHECK-INST: vsetivli a2, 1, e32, m1, ta, ma296# CHECK-ENCODING: [0x57,0xf6,0x00,0xcd]297# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}298# CHECK-UNKNOWN: cd00f657 <unknown>299 300vsetivli a2, 1, e32, m2, ma301# CHECK-INST: vsetivli a2, 1, e32, m2, tu, ma302# CHECK-ENCODING: [0x57,0xf6,0x10,0xc9]303# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}304# CHECK-UNKNOWN: c910f657 <unknown>305 306vsetivli a2, 1, e32, m2, ta307# CHECK-INST: vsetivli a2, 1, e32, m2, ta, mu308# CHECK-ENCODING: [0x57,0xf6,0x10,0xc5]309# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}310# CHECK-UNKNOWN: c510f657 <unknown>311 312vsetivli a2, 1, ta, ma313# CHECK-INST: vsetivli a2, 1, e8, m1, ta, ma314# CHECK-ENCODING: [0x57,0xf6,0x00,0xcc]315# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}316# CHECK-UNKNOWN: cc00f657 <unknown>317 318vsetivli a2, 1, m2, ma319# CHECK-INST: vsetivli a2, 1, e8, m2, tu, ma320# CHECK-ENCODING: [0x57,0xf6,0x10,0xc8]321# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}322# CHECK-UNKNOWN: c810f657 <unknown>323 324vsetivli a2, 1, m2, ta325# CHECK-INST: vsetivli a2, 1, e8, m2, ta, mu326# CHECK-ENCODING: [0x57,0xf6,0x10,0xc4]327# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}328# CHECK-UNKNOWN: c410f657 <unknown>329 330vsetivli a2, 1, e32, ma331# CHECK-INST: vsetivli a2, 1, e32, m1, tu, ma332# CHECK-ENCODING: [0x57,0xf6,0x00,0xc9]333# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}334# CHECK-UNKNOWN: c900f657 <unknown>335 336vsetivli a2, 1, e32, ta337# CHECK-INST: vsetivli a2, 1, e32, m1, ta, mu338# CHECK-ENCODING: [0x57,0xf6,0x00,0xc5]339# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}340# CHECK-UNKNOWN: c500f657 <unknown>341 342vsetivli a2, 1, e32, m2343# CHECK-INST: vsetivli a2, 1, e32, m2, tu, mu344# CHECK-ENCODING: [0x57,0xf6,0x10,0xc1]345# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}346# CHECK-UNKNOWN: c110f657 <unknown>347