IIRC GCC can optimize expressions like "(a<<8)|(a>>8)", but has problems with "(a<<8)+(a>>8)". I don't remember where I've read this though.
This patch changes '+' to '|' in ENDSWAP_16 and ENDSWAP_32 macros.
endswap.patch
Description: Binary data
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev