view gcc/testsuite/gcc.dg/vect/fast-math-pr43074.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 } */

float
pvslockprocess(float *fout, float *fin, int framesize)
{
  int i;
  float mag=0.0f, diff;
  for (i = 0; i < framesize; i += 2) {
      mag += fin[i];
      fout[i] = fin[i];
      fout[i+1] = fin[i+1];
  }
  return mag;
}