1# RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zbp < %s 2>&1 | FileCheck %s 2 3# Too few operands 4gorcw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 5# Too few operands 6grevw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 7# Too few operands 8gorciw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 9# Immediate operand out of range 10gorciw t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 11gorciw t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 12# Too few operands 13greviw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 14# Immediate operand out of range 15greviw t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 16greviw t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31] 17# Too few operands 18shflw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 19# Too few operands 20unshflw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 21