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/] [darwin-save-world-1.c] - Diff between revs 322 and 384

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

Rev 322 Rev 384
/* { dg-do run { target powerpc*-*-* } } */
/* { dg-do run { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-skip-if "need to be able to execute AltiVec" { ! { powerpc_altivec_ok && vmx_hw } } } */
/* { dg-skip-if "need to be able to execute AltiVec" { ! { powerpc_altivec_ok && vmx_hw } } } */
/* { dg-options "-maltivec" } */
/* { dg-options "-maltivec" } */
 
 
/* With altivec turned on, Darwin wants to save the world but we did not mark lr as being saved any more
/* With altivec turned on, Darwin wants to save the world but we did not mark lr as being saved any more
   as saving the lr is not needed for saving altivec registers.  */
   as saving the lr is not needed for saving altivec registers.  */
 
 
int main (void)
int main (void)
{
{
  __label__ l1;
  __label__ l1;
  void __attribute__((used)) q(void)
  void __attribute__((used)) q(void)
  {
  {
    goto l1;
    goto l1;
  }
  }
 
 
  l1:;
  l1:;
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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