aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/ChangeLog
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-10-12 21:49:37 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-10-12 21:49:37 +0000
commita8958dd48be372e5b3004c61729071c36f8717a0 (patch)
treec254bc1d80af62e565fd094febe0268b85a1781d /sim/ppc/ChangeLog
parent8e20a3ac820c9517fc798703a38b3dc3072bfab2 (diff)
downloadgdb-a8958dd48be372e5b3004c61729071c36f8717a0.zip
gdb-a8958dd48be372e5b3004c61729071c36f8717a0.tar.gz
gdb-a8958dd48be372e5b3004c61729071c36f8717a0.tar.bz2
Performance tweaks
Diffstat (limited to 'sim/ppc/ChangeLog')
-rw-r--r--sim/ppc/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 5e657ed..c4d314e 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,5 +1,20 @@
Thu Oct 12 11:35:53 1995 Michael Meissner <meissner@tiktok.cygnus.com>
+ * ppc-endian.c (SWAP_n): New macros to speed up byte swapping for
+ 2, 4, and 8 bytes.
+ (ENDIAN_N): If both target and host byte orders are known, don't
+ bother testing CURRENT_{TARGET,HOST}_BYTE_ORDER.
+
+ * ppc-endian.h (target specific H2T_n/T2H_n macros): Remove #if 0
+ to allow target specific H2T_n/T2H_n macros to be used.
+ (htonl, ntohl): If compiled on a 486 by GCC and WITH_BSWAP is
+ non-zero, redefine the htonl/ntohl macros to use the BSWAP instead
+ of the 3 instruction sequence that runs on 386s.
+
+ * std-config.h (WITH_{HOST,TARGET}_BYTE_ORDER): Don't override if
+ specified on the compile line.
+ (WITH_BSWAP): If not defined, define as 0.
+
* Makefile.in (INLINE_CFLAGS): Add -DDEFAULT_INLINE=2 to add
default inline support. Pass INLINE_CFLAGS when compiling.