Diff for /gforth/engine/engine.c between versions 1.93 and 1.97

version 1.93, 2006/10/22 20:45:34 version 1.97, 2007/03/04 22:39:37
Line 1 Line 1
 /* Gforth virtual machine (aka inner interpreter)  /* Gforth virtual machine (aka inner interpreter)
   
   Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005 Free Software Foundation, Inc.    Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006 Free Software Foundation, Inc.
   
   This file is part of Gforth.    This file is part of Gforth.
   
Line 54 Line 54
 #include "fnmatch.h"  #include "fnmatch.h"
 #endif  #endif
 #else  #else
 #include "systypes.h"  /* #include <systypes.h> */
 #endif  #endif
   
 #if defined(HAVE_LIBDL) || defined(HAVE_DLOPEN) /* what else? */  #if defined(HAVE_LIBDL) || defined(HAVE_DLOPEN) /* what else? */
Line 97  extern int gforth_memcmp(const char * s1 Line 97  extern int gforth_memcmp(const char * s1
 #endif  #endif
   
 #define NEWLINE '\n'  #define NEWLINE '\n'
 /* set CHECK_DIVISION to 0 if the hardware checks division by zero and  
    division overflow.  Note that not all checks are controlled by  /* These two flags control whether divisions are checked by software.
    CHECK_DIVISION, in particular not overflow checks in mixed-size     The CHECK_DIVISION_SW is for those cases where the event is a
    words implemented by C's double-by-double division, because that     division by zero or overflow on the C level, and might be reported
    division does not signal such overflows.  !! make an autoconf test     by hardware; we might check forr that in autoconf and set the
    that sets CHECK_DIVISION */     switch appropriately, but currently don't.  The CHECK_DIVISION flag
      is for the other cases. */
   #ifdef GFORTH_DEBUGGING
   #define CHECK_DIVISION_SW 1
 #define CHECK_DIVISION 1  #define CHECK_DIVISION 1
   #else
   #define CHECK_DIVISION_SW 0
   #define CHECK_DIVISION 0
   #endif
   
 /* conversion on fetch */  /* conversion on fetch */
   
Line 352  Label *gforth_engine(Xt *ip0, Cell *sp0, Line 359  Label *gforth_engine(Xt *ip0, Cell *sp0,
 #include PRIM_LAB_I  #include PRIM_LAB_I
 #undef INST_ADDR  #undef INST_ADDR
   };    };
   #ifdef INCLUDE_IMAGE
   #define INST_ADDR(name) ((Label)&&I_##name)
   #include "image.i"
   #undef INST_ADDR
   #endif
 #ifdef CPU_DEP2  #ifdef CPU_DEP2
   CPU_DEP2    CPU_DEP2
 #endif  #endif

Removed from v.1.93  
changed lines
  Added in v.1.97


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>