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