bolt/deps/llvm-18.1.8/llvm/test/MC/RISCV/rv32zkne-only-invalid.s

18 lines
590 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# 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 Zkne extension:
# RUN: not llvm-mc -triple=riscv32 -mattr=+zkne < %s 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
# CHECK-ERROR: immediate must be an integer in the range [0, 3]
aes32esmi a0, a1, a2, 8
# CHECK-ERROR: immediate must be an integer in the range [0, 3]
aes32esi a0, a1, a2, 8