aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr51799.c
blob: 84f402a78b520ac0053c1bb67dc5130a8ccfb020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { 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);
    }
}