blob: dab81a3b1607c6a4182cef2e1f7d5715aad027af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-options "-mavx2 -O2" } */
/* { dg-final { scan-assembler "vpsignd\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
#include <immintrin.h>
volatile __m256i x;
void extern
avx2_test (void)
{
x = _mm256_sign_epi32 (x, x);
}
|