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


Ian Lance Taylor wrote:
Falk Hueffner <falk@debian.org> writes:

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

bswap16 is still necessary, for consistency, and to avoid bug reports.


Eric indicated offline that he was going to work on that, but wanted
to get the first set of patches approved.  At least, that is how I
interpreted what he said.


Yup.


-eric


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