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: [RFC] How to add vector math functions to Glibc

On Thu, Sep 25, 2014 at 8:17 AM, Andrew Senkevich
<> wrote:
>> If consensus ends up being to have such a library (libmvec or libmvect?),
>> then the installation rules for as a linker script should go in
>> math/Makefile, not the toplevel Makerules.  (I don't know what if any
>> changes might be needed to allow subdirectories to provide libraries as
>> linker scripts.)
> There were three options about the place where to add vectorized math functions:
> 1. GLIBC (libm)
> 2. GLIBC (additional library)
> 3. GCC
> In GLIBC cases build of vectorized functions can be conditional, no
> additional -lmvec required because of installed as linked
> script in case of vectorized functions available, so it seems not very
> important whether functions located in additional library or in libm.

I don't think they should be in libm since most of applications
won't use those vector functions, which increase libm size
unnecessarily. A separate library is better.


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