summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64/armv8.2a-persistent-memory.s
blob: 8a7600ee904dbb1283f959b812fa77042b452a60 (plain)
1
2
3
4
5
6
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a < %s | FileCheck %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a < %s 2>&1 | FileCheck %s --check-prefix=ERROR

  dc cvap, x7
// CHECK: dc cvap, x7   // encoding: [0x27,0x7c,0x0b,0xd5]
// ERROR: error: DC CVAP requires ARMv8.2a
OpenPOWER on IntegriCloud