repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx2-vphaddsw-1.c
blob
dbedf69deacbb7cc2aeabe2e6d573b57b0453e5d
1
/* { dg-do compile } */
2
/* { dg-options "-mavx2 -O2" } */
3
/* { dg-final { scan-assembler "vphaddsw\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
4
5
#include <immintrin.h>
6
7
volatile
__m256i x
;
8
9
void
extern
10
avx2_test
(
void
)
11
{
12
x
=
_mm256_hadds_epi16
(
x
,
x
);
13
}