https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85501
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85501
--- Comment #2 from Andrew Pinski ---
Take:
void f(float *myVector, float *result, int i )
{
for(int n = 0; n < 1024; n++)
if (myVector[n] > 0.5){
result[n] = 0.8f;
}
else {
result[n] = 0.1f;
}
}
This loop does get vectorized at -O3 and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85501
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1