Skip to content
Snippets Groups Projects
Commit 3e81ea47 authored by John Thompson's avatar John Thompson
Browse files

D18325: Added mm_malloc module export.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264092 91177308-0d34-0410-b5e6-96231b3b80d8
parent 9872ddf4
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,7 @@ module _Builtin_intrinsics [system] [extern_c] { ...@@ -44,6 +44,7 @@ module _Builtin_intrinsics [system] [extern_c] {
} }
explicit module sse { explicit module sse {
export mm_malloc
export mmx export mmx
export sse2 // note: for hackish <emmintrin.h> dependency export sse2 // note: for hackish <emmintrin.h> dependency
header "xmmintrin.h" header "xmmintrin.h"
......
...@@ -23,3 +23,7 @@ __m128 test_xmmintrin_provides_emmintrin(__m128d __a, __m128d __b) { ...@@ -23,3 +23,7 @@ __m128 test_xmmintrin_provides_emmintrin(__m128d __a, __m128d __b) {
return _mm_add_sd(__a, __b); return _mm_add_sd(__a, __b);
} }
#if __STDC_HOSTED__
// Make sure stdlib.h symbols are accessible.
void *p = NULL;
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment