2 # RUN: not llvm-mc -triple=riscv32 -mattr=+zk < %s 2>&1 \
3 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
6 # RUN: not llvm-mc -triple=riscv32 -mattr=+zkn < %s 2>&1 \
7 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
10 # RUN: not llvm-mc -triple=riscv32 -mattr=+zkne < %s 2>&1 \
11 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
13 # CHECK-ERROR: immediate must be an integer in the range [0, 3]
14 aes32esmi a0
, a1
, a2
, 8
16 # CHECK-ERROR: immediate must be an integer in the range [0, 3]
17 aes32esi a0
, a1
, a2
, 8