1 # RUN: not llvm-mc -triple riscv32 -mattr=+experimental-b,experimental-zbb < %s 2>&1 | FileCheck %s
4 clz t0
, t1
, t2
# CHECK: :[[@LINE]]:13: error: invalid operand for instruction
6 ctz t0
, t1
, t2
# CHECK: :[[@LINE]]:13: error: invalid operand for instruction
8 cpop t0
, t1
, t2
# CHECK: :[[@LINE]]:14: error: invalid operand for instruction
10 sext.
b t0
, t1
, t2
# CHECK: :[[@LINE]]:16: error: invalid operand for instruction
12 sext.h t0
, t1
, t2
# CHECK: :[[@LINE]]:16: error: invalid operand for instruction
14 min t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
16 max t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
18 minu t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
20 maxu t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
21 clzw t0
, t1
# CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set
22 ctzw t0
, t1
# CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set
23 cpopw t0
, t1
# CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set