URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-g -O -msse3" } */
|
/* { dg-options "-g -O -msse3" } */
|
|
|
typedef float v4sf __attribute__ ((__vector_size__ (16)));
|
typedef float v4sf __attribute__ ((__vector_size__ (16)));
|
typedef int v4si __attribute__ ((__vector_size__ (16)));
|
typedef int v4si __attribute__ ((__vector_size__ (16)));
|
|
|
v4sf bar(int);
|
v4sf bar(int);
|
|
|
v4sf foo(v4si vi)
|
v4sf foo(v4si vi)
|
{
|
{
|
int x = __builtin_ia32_vec_ext_v4si (vi, 0);
|
int x = __builtin_ia32_vec_ext_v4si (vi, 0);
|
return bar(x);
|
return bar(x);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.