]> git.eshelyaron.com Git - emacs.git/commitdiff
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
authorFrancesco Potortì <pot@gnu.org>
Tue, 25 Jan 1994 15:04:07 +0000 (15:04 +0000)
committerFrancesco Potortì <pot@gnu.org>
Tue, 25 Jan 1994 15:04:07 +0000 (15:04 +0000)
        (bcopy, bzero, bcmp): define'd for efficiency.
        (GAP_USE_BCOPY, BCOPY_DOWNWARD_SAFE): define'd for GHc compiler.

src/m/delta.h

index 810395815c05713fc0e6eaa6f693b2e478b60296..b53ecba54cd748f5baad50900b17cca924238beb 100644 (file)
@@ -143,6 +143,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
                 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