avx512/src/f11_260.c
// Scale a narrow residue by 2.
Scale a narrow residue by 2.
Scale a narrow residue by 2 .
void double_narrow(
  residue_narrow_t *result, const residue_narrow_t *x) {
  __m512i lhs = _mm512_load_si512((__m512i*) &x->limbs[0]);
  __m512i dub = _mm512_slli_epi32(lhs, 1);
  _mm512_store_si512((__m512i*) &result->limbs[0], dub);
}
void double_narrow ( residue_narrow_t * result , const residue_narrow_t * x ) { __m512i lhs = _mm512_load_si512 ( ( __m512i * ) & x -> limbs [ 0 ] ) ; __m512i dub = _mm512_slli_epi32 ( lhs , 1 ) ; _mm512_store_si512 ( ( __m512i * ) & result -> limbs [ 0 ] , dub ) ; }
Scale a narrow residue by 2.
Scale a narrow residue by 2 .