SIMD optimization of a curve computed from the second derivative
问题 This question is really a curiosity. I was converting a routine into SIMD instructions (and I am quite new to SIMD programming), and had trouble with the following bit of code: // args: uint32_t phase_current; uint32_t phase_increment; uint32_t phase_increment_step; for (int i = 0; i < blockSize; ++i) { USEFUL_FUNC(phase_current); phase_increment += phase_increment_step; phase_current += phase_increment; } The Question: Assuming that USEFUL_FUNC has a SIMD implementation and I am simply