This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Does GCC support Power8 extensions like vpmsum?
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Jeffrey Walton <noloader at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sat, 2 Sep 2017 14:43:22 -0500
- Subject: Re: Does GCC support Power8 extensions like vpmsum?
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8nndCprshmYa_P=0mTKmotm2_EjTOA-jTW0dPW=a8bQVA@mail.gmail.com>
Hi,
On Sat, Sep 02, 2017 at 11:55:34AM -0400, Jeffrey Walton wrote:
> Please forgive my ignorance. I'm trying to determine if GCC supports
> Power8 extensions like vpmsum. Search is returning GCC docs as the top
> hits at https://www.google.com/search?q=gcc+altivec+vpmsum.
>
> The problem is, none of the results include vpmsum. I'm not sure
> what's broken with Google search. Maybe I used the wrong finger to
> press enter.
>
> Does GCC support the Power8 extensions like vpmsum?
Yes, since GCC 6 I believe. vec_pmsum_be is the portable intrinsic, and
__builtin_crypto_vpmsum* are GCC-specific.
Segher