| 345 | |
| 346 | template <uint32 value> |
| 347 | inline vec_float VecLoadScalarConstant(void) |
| 348 | { |
| 349 | #if defined(TERATHON_SSE) |
| 350 | |
| 351 | static const uint32 k = value; |
| 352 | return (_mm_load_ss(reinterpret_cast<const float *>(&k))); |
| 353 | |
| 354 | #elif defined(TERATHON_NEON) |
| 355 | |
| 356 | return (vreinterpretq_f32_u32(vdupq_n_u32(value))); |
| 357 | |
| 358 | #endif |
| 359 | } |
| 360 | |
| 361 | inline vec_float VecSmearX(const vec_float& v) |
| 362 | { |
nothing calls this directly
no outgoing calls
no test coverage detected