[libcxx-commits] [PATCH] D120197: [libunwind] Further fix for 32-bit PowerPC processors without AltiVec

Brad Smith via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 21 12:31:42 PST 2022


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3fa2e66c10aa: [libunwind] Further fix for 32-bit PowerPC processors without AltiVec (authored by kernigh, committed by brad).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120197/new/

https://reviews.llvm.org/D120197

Files:
  libunwind/src/UnwindRegistersSave.S


Index: libunwind/src/UnwindRegistersSave.S
===================================================================
--- libunwind/src/UnwindRegistersSave.S
+++ libunwind/src/UnwindRegistersSave.S
@@ -603,9 +603,11 @@
   stw     30,128(3)
   stw     31,132(3)
 
+#if defined(__ALTIVEC__)
   // save VRSave register
   mfspr   0, 256
   stw     0, 156(3)
+#endif
   // save CR registers
   mfcr    0
   stw     0, 136(3)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120197.410367.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220221/fd26e6ea/attachment.bin>


More information about the libcxx-commits mailing list