MCPcopy Create free account
hub / github.com/davisking/dlib / operator-

Function operator-

dlib/simd/simd8f.h:178–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176// ----------------------------------------------------------------------------------------
177
178 inline simd8f operator- (const simd8f& lhs, const simd8f& rhs)
179 {
180#ifdef DLIB_HAVE_AVX
181 return _mm256_sub_ps(lhs, rhs);
182#else
183 return simd8f(lhs.low()-rhs.low(),
184 lhs.high()-rhs.high());
185#endif
186 }
187 inline simd8f& operator-= (simd8f& lhs, const simd8f& rhs)
188 { lhs = lhs - rhs; return lhs; }
189

Callers

nothing calls this directly

Calls 3

simd8fClass · 0.85
lowMethod · 0.45
highMethod · 0.45

Tested by

no test coverage detected