blob: d76c0b95f0c4e8c9748a5052c936a3df80daa902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Cover function to sparclet `scan' instruction.
This file is in the public domain. */
#ifdef __sparclet__
int
scan (int a, int b)
{
int res;
__asm__ ("scan %1,%2,%0" : "=r" (res) : "r" (a), "r" (b));
return res;
}
#endif
|