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