1# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-b,experimental-zbs < %s 2>&1 | FileCheck %s 2 3# Too few operands 4sbclr t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 5# Too few operands 6sbset t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 7# Too few operands 8sbinv t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 9# Too few operands 10sbext t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 11# Too few operands 12sbclri t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 13# Immediate operand out of range 14sbclri t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 15sbclri t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 16# Too few operands 17sbseti t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 18# Immediate operand out of range 19sbseti t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 20sbseti t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 21# Too few operands 22sbinvi t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 23# Immediate operand out of range 24sbinvi t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 25sbinvi t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 26# Too few operands 27sbexti t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 28# Immediate operand out of range 29sbexti t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 30sbexti t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 31