1// RUN:     llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+ccdp  < %s      | FileCheck %s
2// RUN:     llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s      | FileCheck %s
3// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-ccdp  < %s 2>&1 | FileCheck %s --check-prefix=NOCCDP
4
5dc cvadp, x7
6// CHECK:  dc cvadp, x7   // encoding: [0x27,0x7d,0x0b,0xd5]
7// NOCCDP: error: DC CVADP requires ccdp
8