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
* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr47665.c
blob
10fabb5179c50a548ae9015fa5d46475d9909310
1
/* PR target/47665 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -msse2" } */
4
5
#include <emmintrin.h>
6
7
__m128d
8
foo
(
double
*
x
,
__m128i y
)
9
{
10
return
_mm_load_pd
(
x
+
_mm_cvtsi128_si32
(
_mm_srli_si128
(
_mm_slli_epi32
(
y
,
2
),
0
)));
11
}