On linux the default x86 implementation of htons uses inline asm, but not the 32bit variant. Confused the heck out gcc's optimizer and me.
32bit htonl/__bswap_32 fall know to use __builtin_bswap32. But not the 16bit variant. WTH.
-
-
And I'm not the first to complain: https://sourceware.org/bugzilla/show_bug.cgi?id=20530 …
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.