mirror of git://gcc.gnu.org/git/gcc.git
parent
ce84ada358
commit
9bd6a6aebf
|
|
@ -0,0 +1,13 @@
|
||||||
|
/* { dg-do compile { target x86_64-*-* } } */
|
||||||
|
/* { dg-additional-options "-O3 -march=core-avx2" } */
|
||||||
|
|
||||||
|
unsigned *a;
|
||||||
|
void
|
||||||
|
fn1 ()
|
||||||
|
{
|
||||||
|
for (int i; i; ++i)
|
||||||
|
{
|
||||||
|
unsigned g (a[i] << 8 >> 24);
|
||||||
|
a[i] = g;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue