URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 384 |
/* Test for stack alignment with sibcall optimization. */
|
/* Test for stack alignment with sibcall optimization. */
|
/* { dg-do compile { target { ilp32 && nonpic } } } */
|
/* { dg-do compile { target { ilp32 && nonpic } } } */
|
/* { dg-options "-O2 -msse2 -mpreferred-stack-boundary=4 -mstackrealign" } */
|
/* { dg-options "-O2 -msse2 -mpreferred-stack-boundary=4 -mstackrealign" } */
|
/* { dg-require-effective-target sse2 } */
|
/* { dg-require-effective-target sse2 } */
|
/* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
|
/* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
|
/* { dg-final { scan-assembler-not "call\[\\t \]*_?foo" } } */
|
/* { dg-final { scan-assembler-not "call\[\\t \]*_?foo" } } */
|
/* { dg-final { scan-assembler "jmp\[\\t \]*_?foo" } } */
|
/* { dg-final { scan-assembler "jmp\[\\t \]*_?foo" } } */
|
|
|
#include <emmintrin.h>
|
#include <emmintrin.h>
|
|
|
extern int foo (__m128, __m128, __m128, __m128);
|
extern int foo (__m128, __m128, __m128, __m128);
|
|
|
int bar (__m128 x1, __m128 x2, __m128 x3, __m128 x4)
|
int bar (__m128 x1, __m128 x2, __m128 x3, __m128 x4)
|
{
|
{
|
return foo (x1, x2, x3, x4);
|
return foo (x1, x2, x3, x4);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.