Compiler projects using llvm
# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.4a --disassemble < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8r --disassemble < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=-v8.4a --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NO-V84

[0x5f,0x41,0x03,0xd5]
[0xa0,0x42,0x1b,0xd5]
[0xa0,0x42,0x3b,0xd5]

#CHECK:  msr DIT, #1
#CHECK:  msr DIT, x0
#CHECK:  mrs x0, DIT

#CHECK-NO-V84:  msr S0_3_C4_C1_2, xzr
#CHECK-NO-V84:  msr S3_3_C4_C2_5, x0
#CHECK-NO-V84:  mrs x0, S3_3_C4_C2_5