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

Function VecInt8UnpackB

TSSimd.h:2210–2221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2208 }
2209
2210 inline vec_int16 VecInt8UnpackB(const vec_int8& v)
2211 {
2212 #if defined(TERATHON_SSE)
2213
2214 return (_mm_unpackhi_epi8(v, _mm_cmplt_epi8(v, _mm_setzero_si128())));
2215
2216 #elif defined(TERATHON_NEON)
2217
2218 return (vmovl_s8(vget_high_s8(v)));
2219
2220 #endif
2221 }
2222
2223 inline vec_uint16 VecUInt8UnpackA(const vec_uint8& v)
2224 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected