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] - Rev 704

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

/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-skip-if "no stack realignment" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-fstack-usage -msse2 -mforce-drap" } */
 
typedef int __attribute__((vector_size(16))) vec;
 
vec foo (vec v)
{
  return v;
}
 
int main (void)
{
  vec V;
  V = foo (V);
  return 0;
}
 
/* { dg-final { scan-stack-usage "main\t48\tdynamic,bounded" } } */
/* { dg-final { cleanup-stack-usage } } */
 

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

powered by: WebSVN 2.1.0

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