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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr37843-4.c] - Blame information for rev 327

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

Line No. Rev Author Line
1 318 jeremybenn
/* Test for stack alignment with sibcall optimization.  */
2
/* { dg-do compile { target { ilp32 && nonpic } } } */
3
/* { dg-options "-O2 -msse2 -mpreferred-stack-boundary=4 -mstackrealign" } */
4
/* { dg-require-effective-target sse2 } */
5
/* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
6
/* { dg-final { scan-assembler-not "call\[\\t \]*foo" } } */
7
/* { dg-final { scan-assembler "jmp\[\\t \]*foo" } } */
8
 
9
extern int foo (void);
10
 
11
int bar (void)
12
{
13
    return foo();
14
}

powered by: WebSVN 2.1.0

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