This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH] Optimize manual byte swap implementations using the GCC bswap builtin


> Some implementation of htons use inline-asm directly so it cannot be
> optimized in a same way to the builtin.

Sure, that applies to i386, x86_86, ia64 and s390.  But why should we
care about the already optimized versions? The optimization of course
only helps the still handcrafted implementations.

Bye,

-Andreas-


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