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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [splet-1.c] - Rev 816

Compare with Previous | Blame | View Log

/* Test inl-sparc.h.  */
 
/* { dg-do run { target sparclet-*-* } } */
/* { dg-options -mcpu=sparclet } */
 
#include <inl-sparc.h>
 
main ()
{
  int a,b;
 
  a = scan (1, 2);
  if (a != 3)
    abort ();
 
  b = shuffle (4, 5);
  if (b != 6)
    abort ();
 
  exit (0);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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