| 866 | } |
| 867 | |
| 868 | inline vec_float operator /(const vec_float& v1, const vec_float& v2) |
| 869 | { |
| 870 | #if defined(TERATHON_SSE) |
| 871 | |
| 872 | return (_mm_div_ps(v1, v2)); |
| 873 | |
| 874 | #elif defined(TERATHON_NEON) |
| 875 | |
| 876 | vec_float f = vrecpeq_f32(v2); |
| 877 | f = vmulq_f32(f, vrecpsq_f32(v2, f)); |
| 878 | return (vmulq_f32(v1, f)); |
| 879 | |
| 880 | #endif |
| 881 | } |
| 882 | |
| 883 | inline vec_float VecDivScalar(const vec_float& v1, const vec_float& v2) |
| 884 | { |
nothing calls this directly
no outgoing calls
no test coverage detected