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.dg/] [pr40550.c] - Blame information for rev 316

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
3
/* { dg-require-effective-target sse { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
4
/* { dg-require-effective-target sse_runtime { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
5
 
6
typedef float v2sf __attribute__ ((vector_size (2 * sizeof(float))));
7
 
8
static void test (void)
9
{
10
  v2sf a = {1.0, 0.0};
11
  v2sf b = {0.0, 1.0};
12
  v2sf d;
13
  d = a + b;
14
}
15
 
16
int main ()
17
{
18
  test ();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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