GCC 7 on ppc64le does not recognize vec_xl_be?

Segher Boessenkool segher@kernel.crashing.org
Sat Nov 16 17:41:00 GMT 2019


Hi again,

On Sat, Nov 16, 2019 at 09:47:12AM -0500, Jeffrey Walton wrote:
> On Sat, Nov 16, 2019 at 9:26 AM Segher Boessenkool
> <segher@kernel.crashing.org> wrote:
> If you can find a test rig with Power9 and GCC 7, then I believe this
> is your reproducer:
> 
> $ cat test.cxx
> // g++ -g2 -O3 -mcpu=power9 -maltivec test.cxx
> #include <altivec>

(I need <altivec.h> for this to work at all, not <altivec>.)

GCC 7 simply does not support vec_xl_be: this is implemented in GCC 8 and
later.  GCC 7.5 was released just two days ago, and it was the last release
of GCC 7, so this won't ever be backported there, even if we wanted to.
Sorry.


Segher



More information about the Gcc-help mailing list