Skip to content
Commit be930668 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

Remove all assembly optimizations for htonl and htons

The builtin bswap is already used if optimziation is enabled for
GCC 4.8+, so glibc symbols will be used in a very limited scenarios.

Also, gcc generated code is quite similar to all but ia64 and i386
htons.

Checked on alpha, i686, and ia64.
parent 29ff5b5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment