1// RUN: not llvm-mc -triple arm64-- -show-encoding < %s 2> %t
2// RUN: FileCheck --check-prefix=CHECK-GENERIC < %t %s
3
4// RUN: llvm-mc -triple arm64e-- -show-encoding < %s |\
5// RUN: FileCheck %s --check-prefix=CHECK-ARM64E
6
7// CHECK-GENERIC:  error: instruction requires: pa
8// CHECK-ARM64E:  pacia x0, x1 // encoding: [0x20,0x00,0xc1,0xda]
9  pacia x0, x1
10