[PATCH] PPC64: First in the series of patches implementing POWER8 vector math.
Joseph Myers
joseph@codesourcery.com
Fri Feb 22 01:43:00 GMT 2019
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
> configure.ac in them, right?
No. It's "autoconf /path/to/configure.ac > /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
joseph@codesourcery.com
More information about the Libc-alpha
mailing list