• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-b,experimental-zbt < %s 2>&1 | FileCheck %s
2
3# Too few operands
4cmix t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5# Too few operands
6cmov t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7# Too few operands
8fsl t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9# Too few operands
10fsr t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
11# Too few operands
12fsri t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
13# Immediate operand out of range
14fsri t0, t1, t2, 32 # CHECK: :[[@LINE]]:18: error: immediate must be an integer in the range [0, 31]
15fsri t0, t1, t2, -1 # CHECK: :[[@LINE]]:18: error: immediate must be an integer in the range [0, 31]
16