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

Function operator-

dlib/simd/simd8i.h:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128// ----------------------------------------------------------------------------------------
129
130 inline simd8i operator- (const simd8i& lhs, const simd8i& rhs)
131 {
132#ifdef DLIB_HAVE_AVX2
133 return _mm256_sub_epi32(lhs, rhs);
134#else
135 return simd8i(lhs.low()-rhs.low(),
136 lhs.high()-rhs.high());
137#endif
138 }
139 inline simd8i& operator-= (simd8i& lhs, const simd8i& rhs)
140 { return lhs = lhs - rhs; return lhs;}
141

Callers

nothing calls this directly

Calls 3

simd8iClass · 0.85
lowMethod · 0.45
highMethod · 0.45

Tested by

no test coverage detected