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