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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [incoming-8.c] - Blame information for rev 724

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

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/40838 */
2
/* { dg-do compile { target { { ! *-*-darwin* } && ia32 } } } */
3
/* { dg-options "-w -mstackrealign -O3 -msse2 -mno-avx -mpreferred-stack-boundary=4" } */
4
 
5
float
6
foo (float f)
7
{
8
  float array[128];
9
  float x;
10
  int i;
11
  for (i = 0; i < sizeof(array) / sizeof(*array); i++)
12
    array[i] = f;
13
  for (i = 0; i < sizeof(array) / sizeof(*array); i++)
14
    x += array[i];
15
  return x;
16
}
17
 
18
/* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */

powered by: WebSVN 2.1.0

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