[RFC] How to add vector math functions to Glibc

Joseph S. Myers joseph@codesourcery.com
Mon Sep 22 12:37:00 GMT 2014


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



More information about the Libc-alpha mailing list