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: builtin_bswap plus enhancements


On Thursday 10 August 2006 20:43, Falk Hueffner wrote:
> Chris Lattner <clattner@apple.com> writes:
> > Why not add bswap16 as well?
>
> It should be unnecessary, since any attempt to express it should be
> picked up by the rot idiom recognizer, and the backends should then
> emit optimal code for constant-8 rots (and if that doesn't actually
> happen, we should rather fix that).

Is this true for machines that don't have HImode registers or arithmetic 
operations?

Paul


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