1 # RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zbb,experimental-zbp < %s 2>&1 | FileCheck %s
4 rolw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
6 rorw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
8 roriw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
9 # Immediate operand out of range
10 roriw t0
, t1
, 32 # CHECK: :[[@LINE]]:15: error: immediate must be an integer in the range [0, 31]
11 roriw t0
, t1
, -1 # CHECK: :[[@LINE]]:15: error: immediate must be an integer in the range [0, 31]
13 packw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
15 packuw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction