OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [altivec-14.c] - Diff between revs 322 and 384

Only display areas with differences | Details | Blame | View Log

Rev 322 Rev 384
/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec" } */
/* { dg-options "-maltivec" } */
 
 
#include <altivec.h>
#include <altivec.h>
 
 
vector bool long vbl;           /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector bool long vbl;           /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector signed long vsl;         /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector signed long vsl;         /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector unsigned long vul;       /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector unsigned long vul;       /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector bool long *pvbl;         /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector bool long *pvbl;         /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector signed long *pvsl;       /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector signed long *pvsl;       /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector unsigned long *pvul;     /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
vector unsigned long *pvul;     /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
 
 
void fvbl (vector bool long v) { }      /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
void fvbl (vector bool long v) { }      /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
void fvsl (vector signed long v) { }    /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
void fvsl (vector signed long v) { }    /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
void fvul (vector unsigned long v) { }  /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
void fvul (vector unsigned long v) { }  /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
 
 
int main ()
int main ()
{
{
  vector bool long lvbl;        /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
  vector bool long lvbl;        /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
  vector signed long lvsl;      /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
  vector signed long lvsl;      /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
  vector unsigned long lvul;    /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
  vector unsigned long lvul;    /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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