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

Function operator|

dlib/simd/simd8i.h:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170// ----------------------------------------------------------------------------------------
171
172 inline simd8i operator| (const simd8i& lhs, const simd8i& rhs)
173 {
174#ifdef DLIB_HAVE_AVX2
175 return _mm256_or_si256(lhs, rhs);
176#else
177 return simd8i(lhs.low()|rhs.low(),
178 lhs.high()|rhs.high());
179#endif
180 }
181 inline simd8i& operator|= (simd8i& lhs, const simd8i& rhs)
182 { return lhs = lhs | rhs; return lhs;}
183

Callers

nothing calls this directly

Calls 3

simd8iClass · 0.85
lowMethod · 0.45
highMethod · 0.45

Tested by

no test coverage detected