MCPcopy Create free account
hub / github.com/MegEngine/MegCC / GiReinterInt32ToInt8

Function GiReinterInt32ToInt8

immigration/include/gi_int.h:266–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264#undef GISTORELANEFLOAT32
265
266GI_FORCEINLINE
267GI_INT8_t GiReinterInt32ToInt8(GI_INT32_t Vector) {
268#if defined(GI_NEON_INTRINSICS)
269 return vreinterpretq_s8_s32(Vector);
270#elif defined(GI_SSE2_INTRINSICS)
271 return Vector;
272#elif defined(GI_RVV_INTRINSICS)
273 return vreinterpret_v_i32m1_i8m1(Vector);
274#else
275 return *(GI_INT8_t*)&Vector;
276#endif
277}
278
279GI_FORCEINLINE
280void GiStoreInt16(void* Buffer, GI_INT16_t Vector) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected