| 851 | } |
| 852 | |
| 853 | inline vec_float VecDiv(const vec_float& v1, const vec_float& v2) |
| 854 | { |
| 855 | #if defined(TERATHON_SSE) |
| 856 | |
| 857 | return (_mm_div_ps(v1, v2)); |
| 858 | |
| 859 | #elif defined(TERATHON_NEON) |
| 860 | |
| 861 | vec_float f = vrecpeq_f32(v2); |
| 862 | f = vmulq_f32(f, vrecpsq_f32(v2, f)); |
| 863 | return (vmulq_f32(v1, f)); |
| 864 | |
| 865 | #endif |
| 866 | } |
| 867 | |
| 868 | inline vec_float operator /(const vec_float& v1, const vec_float& v2) |
| 869 | { |
nothing calls this directly
no outgoing calls
no test coverage detected