llvm-for-llvmta/test/MC/Disassembler/AArch64/armv8.7a-hcx.txt

12 lines
412 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -triple=aarch64 -mattr=+hcx -disassemble %s | FileCheck %s
# RUN: llvm-mc -triple=aarch64 -mattr=+v8.7a -disassemble %s | FileCheck %s
# RUN: llvm-mc -triple=aarch64 -disassemble %s | FileCheck --check-prefix=CHECK-NO-HCX %s
[0x42,0x12,0x3c,0xd5]
# CHECK: mrs x2, HCRX_EL2
# CHECK-NO-HCX: mrs x2, S3_4_C1_C2_2
[0x43,0x12,0x1c,0xd5]
# CHECK: msr HCRX_EL2, x3
# CHECK-NO-HCX: msr S3_4_C1_C2_2, x3