llvm-mirror/test/MC/Disassembler/AArch64/armv8.2a-persistent-memory.txt
Oliver Stannard ddf7a3c1a5 [AArch64] Add ARMv8.2-A persistent memory instruction
ARMv8.2-A adds the "dc cvap" instruction, which is a system instruction
that cleans caches to the point of persistence (for systems that have
persistent memory). It is a required part of ARMv8.2-A, so no additional
subtarget features are required.

Differential Revision: http://reviews.llvm.org/D15016

llvm-svn: 254156
2015-11-26 15:28:47 +00:00

7 lines
274 B
Plaintext

# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a --disassemble < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64-none-linux-gnu --disassemble < %s | FileCheck --check-prefix=NO_V82 %s
[0x27,0x7c,0x0b,0xd5]
# CHECK: dc cvap, x7
# NO_V82: sys #3, c7, c12, #1, x7