RFC: A new meta intrinsic header file for x86 intrinsics
Chris Lattner
clattner@apple.com
Fri Apr 4 18:35:00 GMT 2008
>> 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
More information about the Gcc
mailing list