D18325: Added mm_malloc module export.

llvm-svn: 264092
This commit is contained in:
John Thompson 2016-03-22 20:57:51 +00:00
parent 259924869b
commit debce24c90
2 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,7 @@ module _Builtin_intrinsics [system] [extern_c] {
}
explicit module sse {
export mm_malloc
export mmx
export sse2 // note: for hackish <emmintrin.h> dependency
header "xmmintrin.h"

View File

@ -23,3 +23,7 @@ __m128 test_xmmintrin_provides_emmintrin(__m128d __a, __m128d __b) {
return _mm_add_sd(__a, __b);
}
#if __STDC_HOSTED__
// Make sure stdlib.h symbols are accessible.
void *p = NULL;
#endif