view gcc/testsuite/gcc.dg/vect/pr51799.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { 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);
    }
}