On 5/19/20 1:53 PM, Segher Boessenkool wrote:
How can altivec not be supported when you use -mcpu=power8?

For the test in question: builtins-1-be-folded.c:

The VxWorks header file altivec.h is included by builtins-1.fold.h

and the error is:

altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support

On VxWorks the kernel has to be configured for altivec regardless of the -mcpu switch, and for unrelated reasons we cannot configure in altivec at this time for our nightly testing.

Reply via email to