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
Merge from branches/gcc-4_8-branch up to rev 207411.
[official-gcc.git]
/
gcc-4_8-branch
/
gcc
/
testsuite
/
gcc.target
/
mips
/
bswap-4.c
blob
ac37a011440f9f17c0696fa064a4f2ab6c473be4
1
/* { dg-options "isa_rev>=2" } */
2
3
NOMIPS16
unsigned int
4
foo
(
unsigned int
x
)
5
{
6
return
__builtin_bswap32
(
x
);
7
}
8
9
/* { dg-final { scan-assembler "\twsbh\t" } } */
10
/* { dg-final { scan-assembler "\tror\t" } } */