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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [stack-usage-realign.c] - Blame information for rev 704

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target ia32 } */
3
/* { dg-skip-if "no stack realignment" { *-*-darwin* } { "*" } { "" } } */
4
/* { dg-options "-fstack-usage -msse2 -mforce-drap" } */
5
 
6
typedef int __attribute__((vector_size(16))) vec;
7
 
8
vec foo (vec v)
9
{
10
  return v;
11
}
12
 
13
int main (void)
14
{
15
  vec V;
16
  V = foo (V);
17
  return 0;
18
}
19
 
20
/* { dg-final { scan-stack-usage "main\t48\tdynamic,bounded" } } */
21
/* { dg-final { cleanup-stack-usage } } */

powered by: WebSVN 2.1.0

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