llvm-for-llvmta/test/MC/RISCV/rv64zbm-invalid.s

9 lines
397 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zbm < %s 2>&1 | FileCheck %s
# Too many operands
bmatflip t0, t1, t2 # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
# Too few operands
bmator t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
# Too few operands
bmatxor t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction