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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [spu2vmx-1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile { target powerpc*-*-* } } */
2
/* { dg-require-effective-target powerpc_spu } */
3
/* { dg-options "-maltivec" } */
4
 
5
#include 
6
#include 
7
 
8
vec_uint4 f(vec_uint4 a, vec_uint4 b)
9
{
10
  return spu_add(a, b);
11
}
12
vec_float4 f(vec_float4 a, vec_float4 b)
13
{
14
  return spu_add(a, b);
15
}

powered by: WebSVN 2.1.0

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