aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr51799.c
blob: 7d95e363dd2ec77137c6b92d568915a89edf98a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */

typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned long uint32_t;
void
f0a (uint32_t * __restrict__ result, int8_t * __restrict__ arg1,
     uint32_t * __restrict__ arg4, int8_t temp_6)
{
  int idx;
  for (idx = 0; idx < 416; idx += 1)
    {
      result[idx] = (uint8_t)(((arg1[idx] << 7) + arg4[idx]) * temp_6);
    }
}

/* { dg-final { cleanup-tree-dump "vect" } } */