|
Message-ID: <225ea64f-f051-1a61-0ba2-db9f27d1ba68@gmail.com> Date: Fri, 7 Apr 2017 19:53:09 +0200 From: fab10 <0xfab10@...il.com> To: musl@...ts.openwall.com Subject: byteswap.h I had a look at byteswap.h and it seems to me that the code is not very efficient. Every function in this header could be translated in a single assembly instruction with the gcc intrinsics: __builtin_bswap16 __builtin_bswap32 __builtin_bswap64 Is there a reason to not use these gcc intrinsics? Bye
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.