URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
322 |
jeremybenn |
/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
|
2 |
|
|
/* { dg-require-effective-target powerpc_altivec_ok } */
|
3 |
|
|
/* { dg-options "-maltivec" } */
|
4 |
|
|
|
5 |
|
|
#include <altivec.h>
|
6 |
|
|
|
7 |
|
|
vector bool long vbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
8 |
|
|
vector signed long vsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
9 |
|
|
vector unsigned long vul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
10 |
|
|
vector bool long *pvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
11 |
|
|
vector signed long *pvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
12 |
|
|
vector unsigned long *pvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
13 |
|
|
|
14 |
|
|
void fvbl (vector bool long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
15 |
|
|
void fvsl (vector signed long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
16 |
|
|
void fvul (vector unsigned long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
17 |
|
|
|
18 |
|
|
int main ()
|
19 |
|
|
{
|
20 |
|
|
vector bool long lvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
21 |
|
|
vector signed long lvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
22 |
|
|
vector unsigned long lvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
|
23 |
|
|
return 0;
|
24 |
|
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.