i want to know with -Ofast flag on gcc if
x += (a * b) + (c * d) + (e * f);
is faster/slower/the same as/than
x += a * b;x += b * c; x += e * f;
I have a math expression like this inside of a nested loop so any gain in speed might have a significant effect.