xref: /llvm-project/llvm/test/MC/RISCV/rv32zbkc-invalid.s (revision eec05bfeafe9389e190932e0efbfbed11198311e)
1# RUN: not llvm-mc -triple riscv32 -mattr=+zbkc < %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
6clmulh t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7
8# Undefined zbc instruction in zbkc
9clmulr t0, t1, t2 # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'Zbc' (Carry-Less Multiplication){{$}}
10