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


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).

-- 
	Falk


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