Hi,

ispc generates code then times slower than msvc2013 for a simple loop add:

void simple_msvc(int8_t vin1[], int8_t vin2[], int8_t vout[], int count)
{
    for (int index = 0; index < count; ++index)
    {
        vout[index] = vin1[index] + vin2[index];
    }
}
export void simple_ispc(uniform int8 vin1[], uniform int8 vin2[], uniform 
int8 vout[], uniform int count) {
    foreach (index = 0 ... count) {
        vout[index] = vin1[index] + vin2[index];
    }
}

It seems that ispc operates with int32 and generates unnecessary shuffles.

Can I tweak something?

Bruno

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to