URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
/* Test vec_dst* functions with float pointer as first argument. */
|
/* Test vec_dst* functions with float pointer as first argument. */
|
/* { dg-do compile { target powerpc*-*-* } } */
|
/* { dg-do compile { target powerpc*-*-* } } */
|
/* { dg-require-effective-target powerpc_altivec_ok } */
|
/* { dg-require-effective-target powerpc_altivec_ok } */
|
/* { dg-options "-maltivec" } */
|
/* { dg-options "-maltivec" } */
|
|
|
#include
|
#include
|
|
|
extern int i;
|
extern int i;
|
extern float *fp;
|
extern float *fp;
|
extern vector float vf;
|
extern vector float vf;
|
|
|
void
|
void
|
foo ()
|
foo ()
|
{
|
{
|
vec_dst (fp, i, 1);
|
vec_dst (fp, i, 1);
|
vec_dstst (fp, i, 1);
|
vec_dstst (fp, i, 1);
|
vec_dststt (fp, i, 1);
|
vec_dststt (fp, i, 1);
|
vec_dstt (fp, i, 1);
|
vec_dstt (fp, i, 1);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.