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/] [vararg-1.c] - Blame information for rev 329

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

Line No. Rev Author Line
1 318 jeremybenn
/* PR middle-end/36858 */
2
/* { dg-do run } */
3
/* { dg-options "-w" { target { lp64 } } } */
4
/* { dg-options "-w" { target { llp64 } } } */
5
/* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" { target { ilp32 } } } */
6
/* { dg-require-effective-target sse2 } */
7
 
8
#include "sse2-check.h"
9
#include <stdarg.h>
10
#include <emmintrin.h>
11
 
12
int
13
__attribute__((noinline))
14
test (int a, ...)
15
{
16
  return a;
17
}
18
 
19
__m128 n1 = { -283.3, -23.3, 213.4, 1119.03 };
20
 
21
int
22
__attribute__((noinline))
23
foo (void)
24
{
25
  return test (1, n1);
26
}
27
 
28
static void
29
__attribute__((noinline))
30
sse2_test (void)
31
{
32
  if (foo () != 1)
33
    abort ();
34
}

powered by: WebSVN 2.1.0

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