fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / machine / sparc / shuffle.c
blob2c2ec1cd29438a0c22ea7113071df9b69fc2861e
1 /* Cover function to sparclet `shuffle' instruction.
3 This file is in the public domain. */
5 #ifdef __sparclet__
7 int
8 shuffle (int a, int b)
10 int res;
11 __asm__ ("shuffle %1,%2,%0" : "=r" (res) : "r" (a), "r" (b));
12 return res;
15 #endif