[PATCH] BZ #19590: Fixed build of shared objects that use libmvec.so functions
Joseph Myers
joseph@codesourcery.com
Thu Feb 11 16:43:00 GMT 2016
On Thu, 11 Feb 2016, Andrew Senkevich wrote:
> If we need runtime tests with calls to finite aliases it looks better
> to adopt build of existing libmvec tests. We can call finite aliases
> in *-wrappers.c and build shared library from them and link with it
> test binaries. Is this approach looks OK?
I don't think the finite aliases should be considered part of the API to
test; it's an implementation detail of the header that they may get
referenced in certain circumstances. 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).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list