repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
machine
/
sparc
/
scan.c
blob
d76c0b95f0c4e8c9748a5052c936a3df80daa902
1
/* Cover function to sparclet `scan' instruction.
2
3
This file is in the public domain. */
4
5
#ifdef __sparclet__
6
7
int
8
scan
(
int
a
,
int
b
)
9
{
10
int
res
;
11
__asm__
(
"scan %1,%2,%0"
:
"=r"
(
res
) :
"r"
(
a
),
"r"
(
b
));
12
return
res
;
13
}
14
15
#endif