Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does VC++ support _mm_malloc?

Does Visual Studio C++ 2008/2010 support _mm_malloc officially? It is defined in malloc.h but I can't find its description in the MSDN library.

like image 407
Kirill V. Lyadvinsky Avatar asked Jul 22 '10 06:07

Kirill V. Lyadvinsky


2 Answers

Doesn't answer your question directly, but I think you're suppose to use _aligned_malloc. If my understanding is correct, _mm_malloc is for Intel compilers.

like image 142
GManNickG Avatar answered Oct 24 '22 15:10

GManNickG


_mm_malloc/_mm_free supported in Visual Studio 2013 with using the <malloc.h> header.

like image 32
Anton K Avatar answered Oct 24 '22 15:10

Anton K