[PATCH] BZ #19590: Fixed build of shared objects that use libmvec.so functions
Joseph Myers
joseph@codesourcery.com
Thu Feb 11 17:42:00 GMT 2016
On Thu, 11 Feb 2016, Andrew Senkevich wrote:
> > The relevant thing to test is
> > whether building a program that directly calls the scalar functions, with
> > options such that the calls get vectorized, works (including with variant
> > options for e.g. LTO).
>
> But it looks more like compiler test, not library. Or do you mean some
It's a library test (that inclusion of the header and making function
calls works), not a compiler test.
> ABI test for vector functions?
No, what I suggest is entirely an API test (with variants for building a
shared library instead of an executable, etc. - probably built several
times with different vector instruction set options), not an ABI test.
Testing the interfaces in the way that a normal user program would use
them, i.e. via the normal math.h APIs in code that happens to be
vectorizable.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list