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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [altivec-12.C] - Diff between revs 301 and 338

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);
}
}
 
 

powered by: WebSVN 2.1.0

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