diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-05-06 15:43:42 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-05-06 15:43:42 -0300 |
commit | 469c76f0d94d03e29467a9d1e77cd3613f46ac2f (patch) | |
tree | a06d9a0883d5c9a0af960fe98a3724ecc105900d /gcc | |
parent | 374b3c936d62c8b6e7c607fdf6e84a83748e85c7 (diff) | |
download | gcc-469c76f0d94d03e29467a9d1e77cd3613f46ac2f.zip gcc-469c76f0d94d03e29467a9d1e77cd3613f46ac2f.tar.gz gcc-469c76f0d94d03e29467a9d1e77cd3613f46ac2f.tar.bz2 |
libstdc++: ppc: conditionalize vsx-only simd intrinsics
libstdc++'s bits/simd.h section for PowerPC, guarded by __ALTIVEC__,
defines various intrinsic vector types that are only available with
__VSX__: 64-bit long double, double, (un)signed long long, and 64-bit
(un)signed long.
experimental/simd/standard_abi_usable{,_2}.cc tests error out
reporting the unmet requirements when the target cpu doesn't enable
VSX. Make the reported instrinsic types conditional on __VSX__ so
that <experimental/simd> can be used on PowerPC variants that do not
support VSX.
for libstdc++-v3/ChangeLog
* include/experimental/bits/simd.h [__ALTIVEC__]: Require VSX
for double, long long, and 64-bit long intrinsic types.
[__ALTIVEC__] (__intrinsic_type): Mention 128-bit in
preexisting long double diagnostic, adjust no-VSX double
diagnostic to cover 64-bit long double as well.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions