OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [slp-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -fno-vect-cost-model" } */
3
 
4
struct R {
5
  double d1;
6
  double d2;
7
};
8
 
9
struct R foo (struct R arg)
10
{
11
  struct R ret;
12
  ret.d1 = arg.d2 * (0.0 - arg.d1);
13
  ret.d2 = ret.d1;
14
  return ret;
15
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.