diff options
author | Ezra Sitorus <ezra.sitorus@arm.com> | 2025-03-10 15:01:08 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2025-03-24 16:28:31 +0000 |
commit | f977d551da437f8c0373dc8785befa2f81d57f1e (patch) | |
tree | 915f8898cc2b145eb69ac8ccfb74b642aefe914e /sim/ppc/emul_chirp.c | |
parent | 89e59ca6dce9bc7ca88b5d6c1a073c39b8f9bcc9 (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
FEAT_MEC support was introduced in [1]. However, the dc instruction was
missing these encodings:
- DC CIPAE
- DC CIGDPAE
Furthermore, the Arm ARM states that FEAT_MEC is an optional extension,
introduced for v9.2-a.
Therefore, these sysregs:
- MECIDR_EL2
- MECID_P0_EL2
- MECID_A0_EL2
- MECID_P1_EL2
- MECID_A1_EL2
- VMECID_P_EL2
- VMECID_A_EL2
- MECID_RL_A_EL3
which were introduced in that commit now require -march=armv9.2-a at the very
least to be enabled, as well as the dc encodings.
opcodes/ChangeLog:
* aarch64-opc.c (aarch64_sys_regs_dc): Add "cipae" and "cigdpae".
* aarch64-sys-regs.def: Add V8_7A as a requirement for the above system
registers.
gas/testsuite/gas/ChangeLog
* aarch64/mec-invalid.s: Add .arch directive.
* aarch64/mec.d: Add .arch directive and check for cipae, cigdpae.
* aarch64/mec.s: Add MEC data cache operations test.
* aarch64/mec-arch-bad.d: New test to check for bad arch version.
* aarch64/mec-arch-bad.l: Above.
[1]: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=31f2faf5cf112931cfb8c0564a2b78477c907fe3
Regression tested on aarch64-none-elf
Diffstat (limited to 'sim/ppc/emul_chirp.c')
0 files changed, 0 insertions, 0 deletions