Closed bruceceng closed 5 years ago
Apparently with loops less than 74, it was actually evaluating the entire loop and optimizing out any SIMD instructions. When there were SIMD instructions it successfully compiled to asm.js but failed to created webassembly.
In general, wasm doesn't have simd support yet, so things probably won't work (unless it can lower it to non-simd instructions).
This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
I am experimenting with SIMD intrinsics and running into a compiler issue.
The following program successfully compiles with this command:
However if I change the loop to
for (int i=0; i<75; i++)
or anything higher than 75, then when I compile I get the following compile error:(This goes on for a while).
I assume it has to do with some attempt to optimize the bigger loop which is only triggered above 74 iterations.