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: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 12:19: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 #3 from jakub at gcc dot gnu dot org 2010-01-03 12:19 -------
Shouldn't that be || (bswap32_p && word_mode == SImode) ? expand_unop
will only call expand_doubleword_bswap in that case...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42589