MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / av512_clamp

Function av512_clamp

src/OpenColorIO/AVX512.h:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21{
22
23inline __m512 av512_clamp(__m512 value, const __m512& maxValue)
24{
25 value = _mm512_max_ps(value, _mm512_setzero_ps());
26 return _mm512_min_ps(value, maxValue);
27}
28
29inline __m512 avx512_movelh_ps(__m512 a, __m512 b)
30{

Callers 4

StoreMethod · 0.85
StoreMaskedMethod · 0.85
StoreMethod · 0.85
StoreMaskedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected