brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · 5ac24df Raw
37 lines · plain
1# RUN: llvm-mc -triple=riscv32 -show-encoding -mattr=+experimental-zvfofp8min %s \2# RUN:   | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: not llvm-mc -triple=riscv32 -show-encoding -mattr=+v,+f %s 2>&1 \4# RUN:   | FileCheck %s --check-prefix=CHECK-ERROR5# RUN: llvm-mc -triple=riscv32 -filetype=obj -mattr=+experimental-zvfofp8min %s \6# RUN:    | llvm-objdump -d --mattr=+experimental-zvfofp8min - \7# RUN:    | FileCheck %s --check-prefix=CHECK-INST8# RUN: llvm-mc -triple=riscv32 -filetype=obj -mattr=+experimental-zvfofp8min %s \9# RUN:    | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN10# RUN: llvm-mc -triple=riscv64 -show-encoding -mattr=+experimental-zvfofp8min %s \11# RUN:   | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST12# RUN: not llvm-mc -triple=riscv64 -show-encoding -mattr=+v,+f %s 2>&1 \13# RUN:   | FileCheck %s --check-prefix=CHECK-ERROR14# RUN: llvm-mc -triple=riscv64 -filetype=obj -mattr=+experimental-zvfofp8min %s \15# RUN:    | llvm-objdump -d --mattr=+experimental-zvfofp8min - \16# RUN:    | FileCheck %s --check-prefix=CHECK-INST17# RUN: llvm-mc -triple=riscv64 -filetype=obj -mattr=+experimental-zvfofp8min %s \18# RUN:    | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN19 20# CHECK-INST: vfncvtbf16.sat.f.f.w v8, v4, v0.t21# CHECK-ENCODING: [0x57,0x94,0x4f,0x48]22# CHECK-ERROR: instruction requires the following: 'Zvfofp8min' (Vector OFP8 Converts){{$}}23# CHECK-UNKNOWN: 484f9457 <unknown>24vfncvtbf16.sat.f.f.w v8, v4, v0.t25 26# CHECK-INST: vfncvt.f.f.q v8, v4, v0.t27# CHECK-ENCODING: [0x57,0x94,0x4c,0x48]28# CHECK-ERROR: instruction requires the following: 'Zvfofp8min' (Vector OFP8 Converts){{$}}29# CHECK-UNKNOWN: 484c9457 <unknown>30vfncvt.f.f.q v8, v4, v0.t31 32# CHECK-INST: vfncvt.sat.f.f.q v8, v4, v0.t33# CHECK-ENCODING: [0x57,0x94,0x4d,0x48]34# CHECK-ERROR: instruction requires the following: 'Zvfofp8min' (Vector OFP8 Converts){{$}}35# CHECK-UNKNOWN: 484d9457 <unknown>36vfncvt.sat.f.f.q v8, v4, v0.t37