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