------- Comment #3 from pinskia at gcc dot gnu dot org 2009-05-20 19:04 ------- So there are builtins in 4.3.0 and above. And there is a patch floating around to automatically change the manually written byte swap into the builtins.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40210