1 # RUN: not llvm-mc -triple riscv32 -mattr=+experimental-b,experimental-zbb,experimental-zbp < %s 2>&1 | FileCheck %s
4 andn t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
6 orn t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
8 xnor t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
10 rol t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
12 ror t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
14 rori t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
15 # Immediate operand out of range
16 rori t0
, t1
, 32 # CHECK: :[[@LINE]]:14: error: immediate must be an integer in the range [0, 31]
17 rori t0
, t1
, -1 # CHECK: :[[@LINE]]:14: error: immediate must be an integer in the range [0, 31]
18 rolw t0
, t1
, t2
# CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set
19 rorw t0
, t1
, t2
# CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set
20 roriw t0
, t1
, 31 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set
21 roriw t0
, t1
, 0 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set