[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / RISCV / rv32zksed-invalid.s
blobfeb9bc09b60bf136a4a1bbfdf30891b8f3316246
1 # With Zks extension:
2 # RUN: not llvm-mc -triple=riscv32 -mattr=+zks < %s 2>&1 \
3 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5 # With Zksed extension:
6 # RUN: not llvm-mc -triple=riscv32 -mattr=+zksed < %s 2>&1 \
7 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
9 # CHECK-ERROR: immediate must be an integer in the range [0, 3]
10 sm4ed a0, a1, a2, 8
12 # CHECK-ERROR: immediate must be an integer in the range [0, 3]
13 sm4ks a0, a1, a2, 8