1# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-b,experimental-zbb,experimental-zbp < %s 2>&1 | FileCheck %s
2
3# Too few operands
4andn t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5# Too few operands
6orn t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7# Too few operands
8xnor t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9# Too few operands
10rol t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
11# Too few operands
12ror t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
13# Too few operands
14rori t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
15# Immediate operand out of range
16rori t0, t1, 32 # CHECK: :[[@LINE]]:14: error: immediate must be an integer in the range [0, 31]
17rori t0, t1, -1 # CHECK: :[[@LINE]]:14: error: immediate must be an integer in the range [0, 31]
18# Too few operands
19pack t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
20# Too few operands
21packu t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
22# Too few operands
23packh t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
24