Sent from my iPad

> On Oct 21, 2013, at 2:35 AM, "burnus at gcc dot gnu.org" 
> <gcc-bugzi...@gcc.gnu.org> wrote:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58772
> 
> Tobias Burnus <burnus at gcc dot gnu.org> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |burnus at gcc dot gnu.org
> 
> --- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
> (In reply to Richard Biener from comment #3)
>> The syntax would be
>>  ::posix_memalign (&act, 16, sizeof (Actor));
> 
> Or
>  #include <mm_malloc.h>
>  ...
>  act = _mm_malloc, sizeof (Actor), 16);
> which is supposed to be a bit more portable. (mm_malloc.h ships with GCC since
> 4.0, if I recall correctly.)


Less portable as that only works on x86 while posix_memalign works on all posix 
targets.

Reply via email to