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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [pr38736_main.c] - Diff between revs 298 and 338

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

Rev 298 Rev 338
/* PR target/38736 */
/* PR target/38736 */
/* { dg-skip-if "attribute ((aligned))" { ! { i?86-*-* x86_64-*-* } } } */
/* { dg-skip-if "attribute ((aligned))" { ! { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target avx } */
/* { dg-require-effective-target avx } */
 
 
/* Test compatibility of attribute ((aligned)) with and without -mavx.  */
/* Test compatibility of attribute ((aligned)) with and without -mavx.  */
 
 
extern int aligned_x (void);
extern int aligned_x (void);
extern int aligned_y_avx (void);
extern int aligned_y_avx (void);
extern void abort (void);
extern void abort (void);
 
 
int
int
main ()
main ()
{
{
  if (aligned_x () != aligned_y_avx ())
  if (aligned_x () != aligned_y_avx ())
    abort ();
    abort ();
 
 
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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