forked from OSchip/llvm-project
parent
259924869b
commit
debce24c90
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue