aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2006-11-08 02:24:26 +0000
committerEric Christopher <echristo@gcc.gnu.org>2006-11-08 02:24:26 +0000
commit6300f037d02324e91b3987acbbb16f727dd3c9b8 (patch)
tree82f13b53e251f3bce20f50735420afe5774f3ac6 /gcc/libgcc2.c
parent701640b1f922739a7ed526891a49aba5a696f504 (diff)
downloadgcc-6300f037d02324e91b3987acbbb16f727dd3c9b8.zip
gcc-6300f037d02324e91b3987acbbb16f727dd3c9b8.tar.gz
gcc-6300f037d02324e91b3987acbbb16f727dd3c9b8.tar.bz2
libgcc2.c (__bswapdi2): Rename from bswapDI2.
2006-11-07 Eric Christopher <echristo@apple.com> * libgcc2.c (__bswapdi2): Rename from bswapDI2. (__bswapsi2): Ditto. * libgcc2.h: Remove transformation of bswap routines. * config/i386/i386.md (bswapsi2): New. (bswapdi2): Ditto. 2006-11-07 Eric Christopher <echristo@apple.com> * gcc.target/i386/builtin-bswap-1.c: Rewrite for 64-bit. Test using scan-assembler-not. From-SVN: r118576
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index f3a0a24..bc50ab6 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -494,7 +494,7 @@ __ashrdi3 (DWtype u, word_type b)
#ifdef L_bswapsi2
UWtype
-__bswapSI2 (UWtype u)
+__bswapsi2 (UWtype u)
{
return ((((u) & 0xff000000) >> 24)
| (((u) & 0x00ff0000) >> 8)
@@ -504,7 +504,7 @@ __bswapSI2 (UWtype u)
#endif
#ifdef L_bswapdi2
UDWtype
-__bswapDI2 (UDWtype u)
+__bswapdi2 (UDWtype u)
{
return ((((u) & 0xff00000000000000ull) >> 56)
| (((u) & 0x00ff000000000000ull) >> 40)
@@ -1886,7 +1886,7 @@ CONCAT3(__div,MODE,3) (MTYPE a, MTYPE b, MTYPE c, MTYPE d)
{
MTYPE denom, ratio, x, y;
- /* ??? We can get better behavior from logarithmic scaling instead of
+ /* ??? We can get better behavior from logarithmic scaling instead of
the division. But that would mean starting to link libgcc against
libm. We could implement something akin to ldexp/frexp as gcc builtins
fairly easily... */