[patch] misc bswap fixes

Eric Christopher echristo@apple.com
Tue Nov 7 00:16:00 GMT 2006


Now with improvements thanks to Uros.

Tested on x86_64-darwin, no regressions, fixed the previous tests.

OK? Uros, see anything else?

-eric

2006-11-06  Eric Christopher  <echristo@apple.com>

         * libgcc2.c (__bswapdi2): Rename from bswapDI2.
         (__bswapsi2): Rename from bswapSI2.
         * libgcc2.h: Remove transformation of bswap routines.
         * config/i386/i386.md (bswapsi2): New.
         (bswapdi2): Ditto.

2006-11-06  Eric Christopher  <echristo@apple.com>

         * gcc.target/i386/builtin-bswap-1.c: Rewrite for 64-bit.
	Test using scan-assembler-not.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bswap.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061107/1c941d39/attachment.txt>
-------------- next part --------------



More information about the Gcc-patches mailing list