Sign in
gnu
/
gcc
/
refs/heads/devel/omp/gcc-9
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx2-vpmulhw-1.c
blob: a626f19199cb894ee5790bc8ecdc950019835633 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-mavx2 -O2" } */
/* { dg-final { scan-assembler "vpmulhw\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
#include
<immintrin.h>
volatile
__m256i x
;
void
extern
avx2_test
(
void
)
{
x
=
_mm256_mulhi_epi16
(
x
,
x
);
}