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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr40550.c] - Blame information for rev 801

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

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

powered by: WebSVN 2.1.0

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