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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [conversion/] [simd2.C] - Blame information for rev 320

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

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-do compile } */
2
 
3
/* Test generic operations on vectors.  */
4
 
5
int __attribute__((vector_size(16))) a, b, c;
6
int __attribute__((vector_size(8))) d;
7
void foo()
8
{
9
     a = b ^ c;
10
     a = b + c;
11
     a = b - c;
12
     a = b * c;
13
     a = b / c;
14
     a = -b;
15
     a = d + b;         /* { dg-error "invalid operands to binary +" } */
16
}

powered by: WebSVN 2.1.0

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