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] - Blame information for rev 867

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

Line No. Rev Author Line
1 149 jeremybenn
/* Test inl-sparc.h.  */
2
 
3
/* { dg-do run { target sparclet-*-* } } */
4
/* { dg-options -mcpu=sparclet } */
5
 
6
#include <inl-sparc.h>
7
 
8
main ()
9
{
10
  int a,b;
11
 
12
  a = scan (1, 2);
13
  if (a != 3)
14
    abort ();
15
 
16
  b = shuffle (4, 5);
17
  if (b != 6)
18
    abort ();
19
 
20
  exit (0);
21
}

powered by: WebSVN 2.1.0

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