summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr56275.c
blob: fc9c3312d559e2d9aa30b5f523a8013dfdeb4813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mno-sse" { target { i?86-*-* x86_64-*-* } } } */

typedef long long v2tw __attribute__ ((vector_size (2 * sizeof (long long))));

void tiger_block_v2 (long long in1, v2tw *res)
{
  v2tw i1 = { in1, in1 };

  *res = i1 << 1;
}