xref: /llvm-project/llvm/test/MC/RISCV/rv32zbc-invalid.s (revision 15a78f9d09e2406d81cb26a5a40d25ef6b54f4e1)
1# RUN: not llvm-mc -triple riscv32 -mattr=+zbc < %s 2>&1 | FileCheck %s
2
3# Too few operands
4clmul t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5# Too few operands
6clmulr t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7# Too few operands
8clmulh t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9