Currently, the SIMD.js validation in asm.js requires local variables with SIMD type be declared like this:
var x = SIMD_float32x4(0, 0, 0, 0);
It’s recently been observed that in the non-asm.js SIMD.js API, passing fewer arguments to the SIMD constuctors causes them to use zero values by default, so one can produce an all-zeros vector like this:
var x = SIMD_float32x4();
Since it’s pretty common to initialize variables to zero values in asm.js programs, it’d be neat if asm.js would accept this abbreviated form. Thoughts?