MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecInt8GetInfinity

Function VecInt8GetInfinity

TSSimd.h:1972–1984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1970 }
1971
1972 inline vec_int8 VecInt8GetInfinity(void)
1973 {
1974 #if defined(TERATHON_SSE)
1975
1976 alignas(16) static const uint8 int_80[16] = {0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80};
1977 return (_mm_load_si128(reinterpret_cast<const __m128i *>(int_80)));
1978
1979 #elif defined(TERATHON_NEON)
1980
1981 return (vmovq_n_s8(-128));
1982
1983 #endif
1984 }
1985
1986 inline vec_int8 VecInt8Load(const int8 *ptr)
1987 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected