brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · debaf71 Raw
43 lines · plain
1# RUN: not llvm-mc -triple riscv32 -mattr=+zfa,+d \2# RUN:     -M no-aliases -show-encoding < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK-NO-EXTZFH %s4# RUN: not llvm-mc -triple riscv64 -mattr=+zfa,+d \5# RUN:     -M no-aliases -show-encoding < %s 2>&1 \6# RUN:     | FileCheck -check-prefixes=CHECK-NO-EXTZFH %s7 8# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}9fminm.h fa0, fa1, fa210 11# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}12fmaxm.h fs3, fs4, fs513 14# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}15fround.h fs1, fs216 17# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}18fround.h fs1, fs2, dyn19 20# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}21fround.h fs1, fs2, rtz22 23# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}24fround.h fs1, fs2, rne25 26# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}27froundnx.h fs1, fs228 29# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}30froundnx.h fs1, fs2, dyn31 32# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}33froundnx.h fs1, fs2, rtz34 35# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}36froundnx.h fs1, fs2, rne37 38# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}39fltq.h a1, fs1, fs240 41# CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}42fleq.h a1, ft1, ft243