[Bug tree-optimization/40210] gcc byte swap builtins inadequately optimized

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 10 17:37:00 GMT 2009



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



More information about the Gcc-bugs mailing list