bolt/deps/llvm-18.1.8/llvm/test/MC/RISCV/rv32zknd-only-invalid.s
2025-02-14 19:21:04 +01:00

17 lines
590 B
ArmAsm

# With Zk extension:
# RUN: not llvm-mc -triple=riscv32 -mattr=+zk < %s 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
# With Zkn extension:
# RUN: not llvm-mc -triple=riscv32 -mattr=+zkn < %s 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
# With Zknd extension:
# RUN: not llvm-mc -triple=riscv32 -mattr=+zknd < %s 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
# CHECK-ERROR: immediate must be an integer in the range [0, 3]
aes32dsmi a0, a1, a2, 8
# CHECK-ERROR: immediate must be an integer in the range [0, 3]
aes32dsi a0, a1, a2, 8