This is the mail archive of the libc-alpha@sourceware.org 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] BZ #19590: Fixed build of shared objects that use libmvec.so functions


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


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