3 ms·
Besides the autovectorization, the second version also has two additional assignments. Depending on how the storage is used for these, whether it’s to registers
by ww520 4y ago
Besides the autovectorization, the second version also has two additional assignments. Depending on how the storage is used for these, whether it’s to registers, L1/L2, or stack, there might be performance hit.
- ummonk 4y agoWhy would it be in anything but registers?