This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13926] __bswap_64 in bits/byeswap.h only usable by gcc


http://sourceware.org/bugzilla/show_bug.cgi?id=13926

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> 2012-03-29 15:15:22 UTC ---
The inline asm for byte swapping is obsolete and useless anyway. Since at least
early gcc 4, gcc already generates the optimal machine code if you just write
the byte swap in the most naive possible way with bitshifts and masking. The
asm should be thrown out and just replaced with static inline functions.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]