summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43067.c
blob: 7abb00279395bbca03ec66fc8087a65cfcb26245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O1 -mxop -ftree-vectorize -fschedule-insns" } */

union {
  int i32[10240];
  long long i64[10240];
} a, b, c;

void imul32_to_64 (void)
{
  int i;

  for (i = 0; i < 10240; i++)
    a.i64[i] = (long long) b.i32[i] * c.i32[i];
}