blob: 2c2ec1cd29438a0c22ea7113071df9b69fc2861e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* 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
|