23 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %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=+sve < %s \8// RUN: | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST9// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \10// RUN: | llvm-objdump -d --mattr=-sve - | FileCheck %s --check-prefix=CHECK-UNKNOWN11 12compact z31.s, p7, z31.s13// CHECK-INST: compact z31.s, p7, z31.s14// CHECK-ENCODING: [0xff,0x9f,0xa1,0x05]15// CHECK-ERROR: instruction requires: sve or sme2p216// CHECK-UNKNOWN: 05a19fff <unknown>17 18compact z31.d, p7, z31.d19// CHECK-INST: compact z31.d, p7, z31.d20// CHECK-ENCODING: [0xff,0x9f,0xe1,0x05]21// CHECK-ERROR: instruction requires: sve or sme2p222// CHECK-UNKNOWN: 05e19fff <unknown>23