Home
last modified time | relevance | path

Searched refs:estimate (Results 1 – 2 of 2) sorted by relevance

/TaskScheduler/ThirdParty/Squish/
H A Dsimd_ve.h133 vector float estimate = vec_re( v.m_v ); in Reciprocal() local
136 vector float diff = vec_nmsub( estimate, v.m_v, ( vector float )( 1.0f ) ); in Reciprocal()
137 return Vec4( vec_madd( diff, estimate, estimate ) ); in Reciprocal()
H A Dsimd_sse.h129 __m128 estimate = _mm_rcp_ps( v.m_v ); in Reciprocal() local
132 __m128 diff = _mm_sub_ps( _mm_set1_ps( 1.0f ), _mm_mul_ps( estimate, v.m_v ) ); in Reciprocal()
133 return Vec4( _mm_add_ps( _mm_mul_ps( diff, estimate ), estimate ) ); in Reciprocal()