Does GCC support Power8 extensions like vpmsum?

Segher Boessenkool segher@kernel.crashing.org
Sat Sep 2 19:43:00 GMT 2017


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



More information about the Gcc-help mailing list