mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 02:35:00 +08:00
aarch64: Add testcase for HCR_EL2 system register
HCR_EL2 is a 64-bit Hypervisor Configuration Register. gas/ChangeLog: 2020-10-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> * testsuite/gas/aarch64/sysreg-6.d: New test. * testsuite/gas/aarch64/sysreg-6.s: New test.
This commit is contained in:
9
gas/testsuite/gas/aarch64/sysreg-6.d
Normal file
9
gas/testsuite/gas/aarch64/sysreg-6.d
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#objdump: -dr
|
||||||
|
|
||||||
|
.*: file format .*
|
||||||
|
|
||||||
|
Disassembly of section \.text:
|
||||||
|
|
||||||
|
0+ <.*>:
|
||||||
|
[^:]+: d51c1100 msr hcr_el2, x0
|
||||||
|
[^:]+: d53c1100 mrs x0, hcr_el2
|
2
gas/testsuite/gas/aarch64/sysreg-6.s
Normal file
2
gas/testsuite/gas/aarch64/sysreg-6.s
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
msr hcr_el2, x0
|
||||||
|
mrs x0,hcr_el2
|
Reference in New Issue
Block a user