repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arc
/
mswape.c
blob
8763825be0a1a63bbd93c1b3b02ab87000d2fad9
1
/* { dg-options "-mswape" } */
2
/* { dg-do assemble } */
3
/* { dg-skip-if "" { arc6xx } } */
4
5
int
f
(
int
i
)
6
{
7
__asm__
(
"swape %1, %1"
:
"=r"
(
i
) :
"r"
(
i
));
8
return
i
;
9
}