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:
parent
5962451351
commit
ffd73a8b9e
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
|
Loading…
x
Reference in New Issue
Block a user