18 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2-sm4 < %s \2// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \4// RUN: | FileCheck %s --check-prefix=CHECK-ERROR5// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s 2>&1 \6// RUN: | FileCheck %s --check-prefix=CHECK-ERROR7// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2-sm4 < %s \8// RUN: | llvm-objdump -d --mattr=+sve2-sm4 - | FileCheck %s --check-prefix=CHECK-INST9// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2-sm4 < %s \10// RUN: | llvm-objdump -d --mattr=-sve2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN11 12 13sm4ekey z0.s, z1.s, z31.s14// CHECK-INST: sm4ekey z0.s, z1.s, z31.s15// CHECK-ENCODING: [0x20,0xf0,0x3f,0x45]16// CHECK-ERROR: instruction requires: sve-sm417// CHECK-UNKNOWN: 453ff020 <unknown>18