3 ms·
The memory aliasing point completely correct and very important (even though you probably want the `b[i] = val` outside the inner loop...) [...] Do you mean th
by danbruc 10y ago
The memory aliasing point completely correct and very important (even though you probably want the `b[i] = val` outside the inner loop...) [...]
Do you mean the assignment to b should be or must be outside of the inner loop? I am pretty sure it must be outside of the inner loop in order to make the assembly version correct.
- tomsmeding 10y agoVery true, didn't spot that one. Then the C code is probably a typo, but still incorrect. :P