This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.

On Fri, 22 Feb 2019, GT wrote:

> And running autoconf at the glibc source-tree root directory should
> regenerate configure scripts in all subdirectories which have
> in them, right?

No.  It's "autoconf /path/to/ > /path/to/configure" to 
regenerate a subdirectory configure fragment.  See the Makefile rules.

> Turns out POWER7 is the earliest POWERn that implements v2.06 of the ISA.
> v2.06 is when type vector double was introduced. So the behavior is
> as expected.

I.e., any processor supporting this functionality has VSX.  So do you need 
the plain AltiVec versions at all, or just the VSX ones?  (At least for 
double; maybe if you do float functions later, AltiVec versions will be 
relevant there?)

(I'd suggest that, instead of configure tests, it would be best just to 
build the functions in question with appropriate -m options, and arrange 
for the tests not to run on processors not supporting the required 
functionality.  If that won't work for some reason, presumably you can 
give a clear explanation of that reason for the commit message.)

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]