This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: A new meta intrinsic header file for x86 intrinsics


I prefer <x86intrin.h>, as these are presumably usable in x86-64 mode.

One random request: would it be possible to keep mm_malloc.h out of the
umbrella header? Inclusion of mm_malloc.h make use of SSE difficult in
kernel contexts, as mm_malloc.h pulls in stdlib.h and errno.h.



The idea is one header file to make all intrinsics available, including
_mm_malloc () and _mm_free (). Unless we exclude those 2, I
don't see that we have a choice.

How about something like:


#ifndef __DISABLE_MM_MALLOC_H
#include <mm_malloc.h>
#endif

in x86intrin.h?

-Chris


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