version 1.19, 2003/01/03 17:10:10
|
version 1.25, 2007/03/25 21:30:59
|
Line 2
|
Line 2
|
This is a generic file for 32-bit machines with IEEE FP arithmetic (no VMS). |
This is a generic file for 32-bit machines with IEEE FP arithmetic (no VMS). |
It only supports indirect threading. |
It only supports indirect threading. |
|
|
Copyright (C) 1995,1998,1999 Free Software Foundation, Inc. |
Copyright (C) 1995,1998,1999,2003 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 40
|
Line 40
|
#define USE_FTOS |
#define USE_FTOS |
#endif |
#endif |
#endif |
#endif |
/* I don't do the same for the data stack (i.e. USE_TOS), since this |
|
loses on processors with few registers. USE_TOS might be defined in |
#ifndef USE_TOS |
the processor-specific files */ |
#ifndef USE_NO_TOS |
|
/* keep top of data stack in register. Usually a good idea unless registers are very scarce */ |
|
#define USE_TOS |
|
#endif |
|
#endif |
|
|
#ifndef INDIRECT_THREADED |
#ifndef INDIRECT_THREADED |
#ifndef DIRECT_THREADED |
#ifndef DIRECT_THREADED |
Line 76 typedef void *Label;
|
Line 80 typedef void *Label;
|
|
|
/* feature defines, these setting should be identical to the ones in machpc.fs */ |
/* feature defines, these setting should be identical to the ones in machpc.fs */ |
|
|
#define HAS_DCOMPS |
#ifndef STANDALONE |
|
#warning hosted system |
#define HAS_FILE |
#define HAS_FILE |
#define HAS_FLOATING |
#define HAS_FLOATING |
#define HAS_GLOCALS |
|
#define HAS_HASH |
|
#define HAS_OS |
#define HAS_OS |
#define HAS_XCONDS |
|
#define HAS_STANDARDTHREADING |
|
#define HAS_DEBUG |
#define HAS_DEBUG |
|
#define HAS_GLOCALS |
|
#define HAS_HASH |
#ifndef HAS_PEEPHOLE |
#ifndef HAS_PEEPHOLE |
#define HAS_PEEPHOLE |
#define HAS_PEEPHOLE |
#endif |
#endif |
|
#else |
|
#warning standalone system |
|
#undef HAS_FILE |
|
#undef HAS_FLOATING |
|
#undef HAS_OS |
|
#undef HAS_DEBUG |
|
#undef HAS_GLOCALS |
|
#undef HAS_HASH |
|
#ifndef PUTC |
|
# define PUTC(x) putc(x, stdout) |
|
#endif |
|
#ifndef TYPE |
|
# define TYPE(x, l) fwrite(x, l, 1, stdout) |
|
#endif |
|
#endif |
|
#define HAS_DCOMPS |
|
#define HAS_XCONDS |
|
#define HAS_STANDARDTHREADING |
|
|
#define RELINFOBITS 8 |
#define RELINFOBITS 8 |