This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/40210] gcc byte swap builtins inadequately optimized
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2009 17:36:58 -0000
- Subject: [Bug tree-optimization/40210] gcc byte swap builtins inadequately optimized
- References: <bug-40210-4564@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from hp at gcc dot gnu dot org 2009-06-10 17:36 -------
(In reply to comment #7)
> I do think that bit operations in general
> could be handled a lot better, and that would help out a whole lot of code.
If you add (compilable) test-cases with enhancement requests, carefully noting
target and gcc version where you observed the lack of optimization, this would
help a lot.
> Once that framework was in place optimizing the byteswap builtin would be
> trivial.
We already have a "framework".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40210