MCPcopy Create free account
hub / github.com/numpy/numpy / npyv_rev64_u32

Function npyv_rev64_u32

numpy/core/src/common/simd/vec/reorder.h:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177{ return (npyv_s16)npyv_rev64_u16((npyv_u16)a); }
178
179NPY_FINLINE npyv_u32 npyv_rev64_u32(npyv_u32 a)
180{
181 const npyv_u8 idx = npyv_set_u8(
182 4, 5, 6, 7, 0, 1, 2, 3,/*64*/12, 13, 14, 15, 8, 9, 10, 11
183 );
184 return vec_perm(a, a, idx);
185}
186NPY_FINLINE npyv_s32 npyv_rev64_s32(npyv_s32 a)
187{ return (npyv_s32)npyv_rev64_u32((npyv_u32)a); }
188#if NPY_SIMD_F32

Callers 2

npyv_rev64_s32Function · 0.70
npyv_rev64_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected