URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
691 |
jeremybenn |
/* { dg-do compile } */
|
2 |
|
|
/* The pic register save adds unavoidable stack pointer references. */
|
3 |
|
|
/* { dg-skip-if "" { ia32 && { ! nonpic } } { "*" } { "" } } */
|
4 |
|
|
/* These options are selected to ensure 1 word needs to be allocated
|
5 |
|
|
on the stack to maintain alignment for the call. This should be
|
6 |
|
|
transformed to push+pop. We also want to force unwind info updates. */
|
7 |
|
|
/* { dg-options "-Os -fomit-frame-pointer -fasynchronous-unwind-tables" } */
|
8 |
|
|
/* { dg-options "-Os -fomit-frame-pointer -mpreferred-stack-boundary=3 -fasynchronous-unwind-tables" { target ia32 } } */
|
9 |
|
|
/* ms_abi has reserved stack-region. */
|
10 |
|
|
/* { dg-skip-if "" { x86_64-*-mingw* } { "*" } { "" } } */
|
11 |
|
|
void f();
|
12 |
|
|
void g() { f(); f(); }
|
13 |
|
|
|
14 |
|
|
/* Both stack allocate and deallocate should be converted to push/pop. */
|
15 |
|
|
/* { dg-final { scan-assembler-not "sp" } } */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.