xref: /llvm-project/llvm/test/MC/AArch64/armv8.2a-persistent-memory.s (revision 8689f5e6e77394528155b624d74557790278a407)
1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a -o - %s | FileCheck %s
2// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+ccpp -o - %s | FileCheck %s
3// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8r -o - %s | FileCheck %s
4// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a -o - %s 2>&1 | FileCheck %s --check-prefix=ERROR
5
6  dc cvap, x7
7// CHECK: dc cvap, x7   // encoding: [0x27,0x7c,0x0b,0xd5]
8// ERROR: error: DC CVAP requires: ccpp
9