changeset 5669:ee396244a9a6

* m/delta.h (HAVE_BCOPY): undef'd for efficiency. (bcopy, bzero, bcmp): define'd for efficiency. (GAP_USE_BCOPY, BCOPY_DOWNWARD_SAFE): define'd for GHc compiler.
author Francesco Potortì <pot@gnu.org>
date Tue, 25 Jan 1994 15:04:07 +0000
parents 139b23d6a97b
children 1c506424bb84
files src/m/delta.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/delta.h	Tue Jan 25 00:09:55 1994 +0000
+++ b/src/m/delta.h	Tue Jan 25 15:04:07 1994 +0000
@@ -143,6 +143,10 @@
 #define HAVE_TIMEVAL
 #define SIGNALS_VIA_CHARACTERS
 #define BROKEN_CLOSEDIR		/* builtin closedir is interruptible */
+#undef HAVE_BCOPY		/* b* functions are just stubs to mem* ones */
+#define bcopy(from,to,bytes)	memcpy(to,from,bytes)
+#define bzero(to,bytes)		memset(to,0,bytes)
+#define bcmp memcmp
 #define memmove safe_bcopy	/* for overlapping copies */
 #undef KERNEL_FILE
 #define KERNEL_FILE "/sysv68"
@@ -218,6 +222,8 @@
 		 the Green Hills compiler to create stack frames even for
 		 functions with few local variables. */
 #  define C_SWITCH_MACHINE -ga -O
+#  define GAP_USE_BCOPY		/* *++to = *++from  is inefficient */
+#  define BCOPY_DOWNWARD_SAFE	/* bcopy does: mov.b (%a1)+,(%a0)+ */
 # else
  /* We are using the standard AT&T Portable C Compiler */
 #  define SWITCH_ENUM_BUG