MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / gt_mask

Function gt_mask

third-party/embreeSrc/common/math/vec3ia.h:184–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 __forceinline Vec3ba eq_mask( const Vec3ia& a, const Vec3ia& b ) { return _mm_castsi128_ps(_mm_cmpeq_epi32 (a.m128, b.m128)); }
183 __forceinline Vec3ba lt_mask( const Vec3ia& a, const Vec3ia& b ) { return _mm_castsi128_ps(_mm_cmplt_epi32 (a.m128, b.m128)); }
184 __forceinline Vec3ba gt_mask( const Vec3ia& a, const Vec3ia& b ) { return _mm_castsi128_ps(_mm_cmpgt_epi32 (a.m128, b.m128)); }
185
186#if defined(__aarch64__) || defined(__SSE4_1__)
187 __forceinline Vec3ia min( const Vec3ia& a, const Vec3ia& b ) { return _mm_min_epi32(a.m128,b.m128); }

Callers 1

maxFunction · 0.70

Calls 2

_mm_castsi128_psFunction · 0.85
_mm_cmpgt_epi32Function · 0.85

Tested by

no test coverage detected