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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [altivec-12.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
/* Test vec_dst* functions with float pointer as first argument.  */
2
/* { dg-do compile { target powerpc*-*-* } } */
3
/* { dg-require-effective-target powerpc_altivec_ok } */
4
/* { dg-options "-maltivec" } */
5
 
6
#include 
7
 
8
extern int i;
9
extern float *fp;
10
extern vector float vf;
11
 
12
void
13
foo ()
14
{
15
  vec_dst (fp, i, 1);
16
  vec_dstst (fp, i, 1);
17
  vec_dststt (fp, i, 1);
18
  vec_dstt (fp, i, 1);
19
}

powered by: WebSVN 2.1.0

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