Re: [AD] Allegro on icc

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Hmm, GCC does as well. :) look to the "C Extensions" -> "Vector
> Extensions" section.

Yes, but you must explicitly use vector modes like so

typedef int v __attribute__ ((mode (V4SI)));

and this is of course not portable.


ICC can do auto-vectorisation, for example in

for (i=0; i < 4*n; i++)
  a[i] = b[i] ^ c[i];

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/