brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.3 KiB · 387bb11 Raw
61 lines · plain
1# XAndesVSIntLoad - Andes Vector INT4 Load Extension2# RUN: llvm-mc %s -triple=riscv32 -mattr=+xandesvsinth -show-encoding \3# RUN:     | FileCheck -check-prefixes=CHECK-ASM %s4# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+xandesvsinth < %s \5# RUN:     | llvm-objdump --mattr=+xandesvsinth -M no-aliases -d -r - \6# RUN:     | FileCheck -check-prefixes=CHECK-OBJ %s7# RUN: not llvm-mc -triple=riscv32 -show-encoding %s 2>&1 \8# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR9# RUN: llvm-mc %s -triple=riscv64 -mattr=+xandesvsinth -show-encoding \10# RUN:     | FileCheck -check-prefixes=CHECK-ASM %s11# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+xandesvsinth < %s \12# RUN:     | llvm-objdump --mattr=+xandesvsinth -M no-aliases -d -r - \13# RUN:     | FileCheck -check-prefixes=CHECK-OBJ %s14# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \15# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR16# CHECK-OBJ: nds.vfwcvt.f.n.v  v8, v1017# CHECK-ASM: nds.vfwcvt.f.n.v  v8, v1018# CHECK-ASM: encoding: [0x5b,0x44,0xa2,0x02]19# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}20nds.vfwcvt.f.n.v v8, v1021# CHECK-OBJ: nds.vfwcvt.f.n.v  v8, v10, v0.t22# CHECK-ASM: nds.vfwcvt.f.n.v  v8, v10, v0.t23# CHECK-ASM: encoding: [0x5b,0x44,0xa2,0x00]24# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}25nds.vfwcvt.f.n.v v8, v10, v0.t26# CHECK-OBJ: nds.vfwcvt.f.nu.v v8, v1027# CHECK-ASM: nds.vfwcvt.f.nu.v v8, v1028# CHECK-ASM: encoding: [0x5b,0xc4,0xa2,0x02]29# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}30nds.vfwcvt.f.nu.v v8, v1031# CHECK-OBJ: nds.vfwcvt.f.nu.v v8, v10, v0.t32# CHECK-ASM: nds.vfwcvt.f.nu.v v8, v10, v0.t33# CHECK-ASM: encoding: [0x5b,0xc4,0xa2,0x00]34# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}35nds.vfwcvt.f.nu.v v8, v10, v0.t36# CHECK-OBJ: nds.vfwcvt.f.b.v  v8, v1037# CHECK-ASM: nds.vfwcvt.f.b.v  v8, v1038# CHECK-ASM: encoding: [0x5b,0x44,0xa3,0x02]39# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}40nds.vfwcvt.f.b.v v8, v1041# CHECK-OBJ: nds.vfwcvt.f.b.v  v8, v10, v0.t42# CHECK-ASM: nds.vfwcvt.f.b.v  v8, v10, v0.t43# CHECK-ASM: encoding: [0x5b,0x44,0xa3,0x00]44# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}45nds.vfwcvt.f.b.v v8, v10, v0.t46# CHECK-OBJ: nds.vfwcvt.f.bu.v v8, v1047# CHECK-ASM: nds.vfwcvt.f.bu.v v8, v1048# CHECK-ASM: encoding: [0x5b,0xc4,0xa3,0x02]49# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}50nds.vfwcvt.f.bu.v v8, v1051# CHECK-OBJ: nds.vfwcvt.f.bu.v v8, v10, v0.t52# CHECK-ASM: nds.vfwcvt.f.bu.v v8, v10, v0.t53# CHECK-ASM: encoding: [0x5b,0xc4,0xa3,0x00]54# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}55nds.vfwcvt.f.bu.v v8, v10, v0.t56# CHECK-OBJ: nds.vle4.v      v8, (a0)57# CHECK-ASM: nds.vle4.v      v8, (a0)58# CHECK-ASM: encoding: [0x5b,0x44,0x05,0x06]59# CHECK-ERROR: instruction requires the following: 'XAndesVSIntH' (Andes Vector Small INT Handling Extension){{$}}60nds.vle4.v v8, (a0)61