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: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a -o - %s 2>&1 | FileCheck %s --check-prefix=ERROR
4
5  dc cvap, x7
6// CHECK: dc cvap, x7   // encoding: [0x27,0x7c,0x0b,0xd5]
7// ERROR: error: DC CVAP requires ccpp
8