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


On Mon, 22 Sep 2014, Andrew Senkevich wrote:

> Is it OK to have following scheme:

Yes, that's the sort of thing I'd expect.  However:

> diff --git a/sysdeps/x86_64/bits/math-vector.h

The installed header files for x86_64 (-m64), x86_64 (x32) and i386 are 
meant to be the same, to support using the same compiler and headers with 
any of -m64, -mx32 and -m32.  Thus, this header needs to go in 
sysdeps/x86/fpu, and to contain __x86_64__ preprocessor conditionals.

-- 
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]