On 5/19/20 3:03 PM, Segher Boessenkool wrote:
This is a compile test, so it does not matter at all what the kernel is
doing or not doing. And the -mcpu=power8 flag should enable altivec.
Apparently it doesn't for you, but why is that?
It's likely the specs file we use for the kernel we are using for
testing with.
%{mcpu=604:%{!maltivec:%{!mno-altivec:-mno-altivec}}}
%{mcpu=604:%{!mvsx:%{!mno-vsx:-mno-vsx}}}
%{!mcpu=*:%{!maltivec:%{!mno-altivec:-mno-altivec}}}
%{!mcpu=*:%{!mvsx:%{!mno-vsx:-mno-vsx}}}
and
'--with-cpu=604'
This shouldn't be fixed by whack-a-mole on individual testcases.
Perhaps a SUBTARGET_OVERRIDE incantation might work? Any ideas or
advice you might have would be welcome.