aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/RISCV/rv64zkne-only-invalid.s
blob: 5a7331fa0a9bb56229274ac5e2102f446201f862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# With Zk extension:
# RUN: not llvm-mc -triple=riscv64 -mattr=+zk < %s 2>&1 \
# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR

# With Zkn extension:
# RUN: not llvm-mc -triple=riscv64 -mattr=+zkn < %s 2>&1 \
# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR

# With Zkne extension:
# RUN: not llvm-mc -triple=riscv64 -mattr=+zkne < %s 2>&1 \
# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR

# CHECK-ERROR: immediate must be an integer in the range [0, 10]
aes64ks1i a0, a1, 11

# CHECK-ERROR: immediate must be an integer in the range [0, 10]
aes64ks1i a0, a1, -1