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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [machine/] [sparc/] [shuffle.c] - Rev 862

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

/* Cover function to sparclet `shuffle' instruction.
 
   This file is in the public domain.  */
 
#ifdef __sparclet__
 
int
shuffle (int a, int b)
{
  int res;
  __asm__ ("shuffle %1,%2,%0" : "=r" (res) : "r" (a), "r" (b));
  return res;
}
 
#endif
 

Go to most recent revision | 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.