avx512/src/f11_260.c
// negate a 12x32-bit residue.
negate a 12x32-bit residue.
negate a 12x32 - bit residue .
void negate_narrow(
  residue_narrow_t *result, const residue_narrow_t *x) {
  __m512i lhs = _mm512_load_si512((__m512i*) &x->limbs[0]);
  __m512i zero = _mm512_setzero();
  __m512i neg = _mm512_sub_epi32(zero, lhs);
  _mm512_store_si512((__m512i*) &result->limbs[0], neg);
}
void negate_narrow ( residue_narrow_t * result , const residue_narrow_t * x ) { __m512i lhs = _mm512_load_si512 ( ( __m512i * ) & x -> limbs [ 0 ] ) ; __m512i zero = _mm512_setzero ( ) ; __m512i neg = _mm512_sub_epi32 ( zero , lhs ) ; _mm512_store_si512 ( ( __m512i * ) & result -> limbs [ 0 ] , neg ) ; }
negate a 12x32-bit residue.
negate a 12x32 - bit residue .