////////////////////////
| 170 | #define SSE_T typename SSE<Float>::sse_type |
| 171 | ///////////////////////////// |
| 172 | inline void ScaleJ4(float* jcx, float* jcy, const float* sj) { |
| 173 | __m128 ps = _mm_load_ps(sj); |
| 174 | _mm_store_ps(jcx, _mm_mul_ps(_mm_load_ps(jcx), ps)); |
| 175 | _mm_store_ps(jcy, _mm_mul_ps(_mm_load_ps(jcy), ps)); |
| 176 | } |
| 177 | inline void ScaleJ8(float* jcx, float* jcy, const float* sj) { |
| 178 | ScaleJ4(jcx, jcy, sj); |
| 179 | ScaleJ4(jcx + 4, jcy + 4, sj + 4); |