[libcxx-commits] [PATCH] D137599: [libunwind][PowerPC] Fix saving/restoring VSX registers on LE systems

Nemanja Ivanovic via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 6 09:26:05 PST 2023


nemanjai updated this revision to Diff 486902.
nemanjai added a comment.
Herald added a project: libc++abi.
Herald added a reviewer: libc++abi.

Reduce complexity of the code at the expense of performance on Power9 and newer subtargets. The updated code uses `{st|l}xvd2x` for saving/restoring with the necessary swaps regardless of the subtarget.
Added a test case to libcxxabi.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137599

Files:
  libcxxabi/test/vendor/ibm/vec_reg_restore-le.pass.cpp
  libunwind/src/UnwindRegistersRestore.S
  libunwind/src/UnwindRegistersSave.S

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137599.486902.patch
Type: text/x-patch
Size: 6972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230106/64d77e57/attachment-0001.bin>


More information about the libcxx-commits mailing list