brintos

brintos / llvm-project-archived public Read only

0
0
Text · 449 B · 2c55ac4 Raw
14 lines · plain
1# With Zks extension:2# RUN: not llvm-mc -triple=riscv64 -mattr=+zks < %s 2>&1 \3# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR4 5# With Zksed extension:6# RUN: not llvm-mc -triple=riscv64 -mattr=+zksed < %s 2>&1 \7# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR8 9sm4ed a0, a1, a2, 810# CHECK-ERROR: immediate must be an integer in the range [0, 3]11 12sm4ks a0, a1, a2, 813# CHECK-ERROR: immediate must be an integer in the range [0, 3]14