blob: 2c55ac461f51fdb56720cc501798e724dd1d5e17 [file] [log] [blame]
# With Zks extension:
# RUN: not llvm-mc -triple=riscv64 -mattr=+zks < %s 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
# With Zksed extension:
# RUN: not llvm-mc -triple=riscv64 -mattr=+zksed < %s 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
sm4ed a0, a1, a2, 8
# CHECK-ERROR: immediate must be an integer in the range [0, 3]
sm4ks a0, a1, a2, 8
# CHECK-ERROR: immediate must be an integer in the range [0, 3]