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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [darwin-save-world-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do run { target powerpc*-*-* } } */
2
/* { dg-require-effective-target powerpc_altivec_ok } */
3
/* { dg-skip-if "need to be able to execute AltiVec" { ! { powerpc_altivec_ok && vmx_hw } } } */
4
/* { dg-options "-maltivec" } */
5
 
6
/* With altivec turned on, Darwin wants to save the world but we did not mark lr as being saved any more
7
   as saving the lr is not needed for saving altivec registers.  */
8
 
9
int main (void)
10
{
11
  __label__ l1;
12
  void __attribute__((used)) q(void)
13
  {
14
    goto l1;
15
  }
16
 
17
  l1:;
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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