URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [fastcall-sseregparm.c] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-options "-mpreferred-stack-boundary=4 -msse" } */ /* { dg-require-effective-target ilp32 } */ extern void abort(void); void __attribute__((fastcall, sseregparm)) foo(int i, int j, float x) { static int last_align = -1; int dummy, align = (int)&dummy & 15; if (last_align < 0) last_align = align; else if (align != last_align) abort (); } int main() { foo(0,0,0.0); foo(0,0,0.0); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log