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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr37843-3.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Test for stack alignment with sibcall optimization.  */
2
/* { dg-do compile { target { ia32 && 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
#include <emmintrin.h>
10
 
11
extern int foo (__m128, __m128, __m128, __m128);
12
 
13
int bar (__m128 x1, __m128 x2, __m128 x3, __m128 x4)
14
{
15
    return foo (x1, x2, x3, x4);
16
}

powered by: WebSVN 2.1.0

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