[libc++abi][LIT][AIX] Use Vector instructions available on Power7 in vec_reg_restore...
authorXing Xue <xingxue@outlook.com>
Tue, 29 Nov 2022 19:08:03 +0000 (14:08 -0500)
committerXing Xue <xingxue@outlook.com>
Tue, 29 Nov 2022 19:08:03 +0000 (14:08 -0500)
commit1e3e3e28a624b62abcfc5fc541b58e1738658281
tree4be5871ec4e2998f62e95138b1c7cbc89b477f8b
parentb25672ba829fd66602d37d655a7b263067efc20e
[libc++abi][LIT][AIX] Use Vector instructions available on Power7 in vec_reg_restore.pass.cpp

Summary:
libc++abi LIT test case vec_reg_restore.pass.cpp for AIX uses instructions mtvsrd and mfvsrd that are only available on Power8 CPU and higher, and therefore, fails on Power7 which is supported by the current AIX Clang. This patch replaces mtvsrd/mfvsrd with vector instructions available on Power7.

Reviewed by: nemanjai

Differential Revision: https://reviews.llvm.org/D138667
libcxxabi/test/vendor/ibm/vec_reg_restore.pass.cpp