This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/42589] bswap optimization does not work for 32bit (but for 64bit) on 64bit registers
- From: "andi-gcc at firstfloor dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 13:11:58 -0000
- Subject: [Bug rtl-optimization/42589] bswap optimization does not work for 32bit (but for 64bit) on 64bit registers
- References: <bug-42589-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from andi-gcc at firstfloor dot org 2010-01-03 13:11 -------
I would expect two bswaps yes, like llvm generates
I also can't see how this should be a bad idea for any target with a bswap
like operation (unless it's 64bit)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42589