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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [pr38736_main.c] - Blame information for rev 300

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR target/38736 */
2
/* { dg-skip-if "attribute ((aligned))" { ! { i?86-*-* x86_64-*-* } } } */
3
/* { dg-require-effective-target avx } */
4
 
5
/* Test compatibility of attribute ((aligned)) with and without -mavx.  */
6
 
7
extern int aligned_x (void);
8
extern int aligned_y_avx (void);
9
extern void abort (void);
10
 
11
int
12
main ()
13
{
14
  if (aligned_x () != aligned_y_avx ())
15
    abort ();
16
 
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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