[compiler-rt] [libunwind] [AArch64] Fix nofp regressions in compiler-rt and libunwind (PR #111235)
David Green via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 6 22:58:38 PDT 2024
================
@@ -633,6 +633,13 @@ Lnovec:
.arch_extension gcs
#endif
+#if defined(__ARM_FP) && __ARM_FP != 0
+#define LDP(a,b,r,o,p) stp a, b, [r, o]
+#else
+/* In reverse order so that the last LDP(x0,x1,x0) works. */
+#define LDP(a,b,r,o,p) ldr b, [r, p] ; ldr a, [r, o]
----------------
davemgreen wrote:
Are you sure this is needed for x register ldp/stp? I believe those should be fine with nofp. (There are both fpr and gpr variants of ldp/stp, I assume the d-reg versions are the ones not available with no-fp).
https://github.com/llvm/llvm-project/pull/111235
More information about the cfe-commits
mailing list