Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / zfa-half-invalid.s
bloba2c6f09043084fefff78a0bce12394b56b566f26
1 # RUN: not llvm-mc -triple riscv32 -mattr=+zfa,+d \
2 # RUN: -riscv-no-aliases -show-encoding < %s 2>&1 \
3 # RUN: | FileCheck -check-prefixes=CHECK-NO-EXTZFH %s
4 # RUN: not llvm-mc -triple riscv64 -mattr=+zfa,+d \
5 # RUN: -riscv-no-aliases -show-encoding < %s 2>&1 \
6 # RUN: | FileCheck -check-prefixes=CHECK-NO-EXTZFH %s
8 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
9 fminm.h fa0, fa1, fa2
11 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
12 fmaxm.h fs3, fs4, fs5
14 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
15 fround.h fs1, fs2
17 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
18 fround.h fs1, fs2, dyn
20 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
21 fround.h fs1, fs2, rtz
23 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
24 fround.h fs1, fs2, rne
26 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
27 froundnx.h fs1, fs2
29 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
30 froundnx.h fs1, fs2, dyn
32 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
33 froundnx.h fs1, fs2, rtz
35 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
36 froundnx.h fs1, fs2, rne
38 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
39 fltq.h a1, fs1, fs2
41 # CHECK-NO-EXTZFH: error: instruction requires the following: 'Zfh' (Half-Precision Floating-Point){{$}}
42 fleq.h a1, ft1, ft2