12 lines
412 B
Plaintext
12 lines
412 B
Plaintext
# 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
|