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