aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
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.h
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.h')
-rw-r--r--gcc/libgcc2.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index 1182ba3..d15ab8d 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -304,13 +304,11 @@ typedef int word_type __attribute__ ((mode (__word__)));
#define __ctzSI2 __NW(ctz,2)
#define __popcountSI2 __NW(popcount,2)
#define __paritySI2 __NW(parity,2)
-#define __bswapSI2 __NW(bswap,2)
#define __ffsDI2 __NDW(ffs,2)
#define __clzDI2 __NDW(clz,2)
#define __ctzDI2 __NDW(ctz,2)
#define __popcountDI2 __NDW(popcount,2)
#define __parityDI2 __NDW(parity,2)
-#define __bswapDI2 __NDW(bswap,2)
extern DWtype __muldi3 (DWtype, DWtype);
extern DWtype __divdi3 (DWtype, DWtype);
@@ -347,13 +345,13 @@ extern Wtype __addvSI3 (Wtype, Wtype);
extern Wtype __subvSI3 (Wtype, Wtype);
extern Wtype __mulvSI3 (Wtype, Wtype);
extern Wtype __negvSI2 (Wtype);
-extern UWtype __bswapSI2 (UWtype);
+extern UWtype __bswapsi2 (UWtype);
extern DWtype __absvDI2 (DWtype);
extern DWtype __addvDI3 (DWtype, DWtype);
extern DWtype __subvDI3 (DWtype, DWtype);
extern DWtype __mulvDI3 (DWtype, DWtype);
extern DWtype __negvDI2 (DWtype);
-extern UDWtype __bswapDI2 (UDWtype);
+extern UDWtype __bswapdi2 (UDWtype);
#ifdef COMPAT_SIMODE_TRAPPING_ARITHMETIC
extern SItype __absvsi2 (SItype);