mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
16 lines
237 B
C
16 lines
237 B
C
/* 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
|