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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
builtin-bswap16.x
blob
1e7f41edf013e353944f0a4879a1248c8a8b2f11
1
unsigned short swapu16_1 (unsigned short x)
2
{
3
return (x << 8) | (x >> 8);
4
}
5
6
unsigned short swapu16_2 (unsigned short x)
7
{
8
return (x >> 8) | (x << 8);
9
}