Comment #3 on issue 2228 by [email protected]: Generate SIMD instructions
for SIMD-like code patterns
http://code.google.com/p/v8/issues/detail?id=2228
If this bug requires other things to be fixed first, can we file those
other things and make this one dependent on them instead of closing this
one? Now that CPU hz has plateaued, I have a hard time taking languages
seriously that don't support parallel CPU features.
Regarding the runtime overhead of detection, I suggested in an old email
thread that we do this for obvious for loops:
// v, a and b are 32-bit typed arrays.
for (i = 0; i < 4; ++i) v[i] = a[i] * b[i];
Gating the detection by a constant for loop of 4 iterations (ex) seems like
it would mostly solve the overhead problem, no? I guess this would make
code pretty fugly without inline or macro support, but maybe it's a start.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev