Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.target
/
arm
/
builtin-bswap16.x
blob: 1e7f41edf013e353944f0a4879a1248c8a8b2f11 [
file
] [
log
] [
blame
]
unsigned
short
swapu16_1
(
unsigned
short
x
)
{
return
(
x
<<
8
)
|
(
x
>>
8
);
}
unsigned
short
swapu16_2
(
unsigned
short
x
)
{
return
(
x
>>
8
)
|
(
x
<<
8
);
}