]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: fix vlldm erratum for Armv8.1-m [PR102035]
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Jun 2021 16:18:37 +0000 (17:18 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Tue, 24 Aug 2021 10:45:13 +0000 (11:45 +0100)
commit30461cf8dba3d3adb15a125e4da48800eb2b9b8f
tree7a06380277d84c1780f7f458664a2e67563c30bc
parent574e7950bd6b34e9e2cacce18c802b45505d1d0a
arm: fix vlldm erratum for Armv8.1-m [PR102035]

For Armv8.1-m we generate code that emits VLLDM directly and do not
rely on support code in the library, so emit the mitigation directly
as well, when required.  In this case, we can use the compiler options
to determine when to apply the fix and when it is safe to omit it.

gcc:
PR target/102035
* config/arm/arm.md (attribute arch): Add fix_vlldm.
(arch_enabled): Use it.
* config/arm/vfp.md (lazy_store_multiple_insn): Add alternative to
use when erratum mitigation is needed.
gcc/config/arm/arm.md
gcc/config/arm/vfp.md