1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Objective Caml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* Automatique. Distributed only by permission. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
1995-08-09 07:52:04 -07:00
|
|
|
/* Processor dependencies */
|
|
|
|
|
1996-07-01 05:43:28 -07:00
|
|
|
#define ARCH_SIXTYFOUR
|
1996-02-13 08:29:09 -08:00
|
|
|
|
1996-07-01 05:43:28 -07:00
|
|
|
/* Define ARCH_SIXTYFOUR if the processor has a natural word size of 64 bits.
|
1996-02-13 08:29:09 -08:00
|
|
|
That is, both sizeof(long) = 8 and sizeof(char *) = 8.
|
1996-07-01 05:43:28 -07:00
|
|
|
Otherwise, leave ARCH_SIXTYFOUR undefined. This assumes
|
1996-02-13 08:29:09 -08:00
|
|
|
sizeof(long) = sizeof(char *) = 4. */
|
|
|
|
|
1996-07-01 05:43:28 -07:00
|
|
|
#define ARCH_BIG_ENDIAN
|
1995-08-09 07:52:04 -07:00
|
|
|
|
1996-07-01 05:43:28 -07:00
|
|
|
/* Define ARCH_BIG_ENDIAN if the processor is big endian (the most
|
|
|
|
significant byte of an integer stored in memory comes first).
|
|
|
|
Leave ARCH_BIG_ENDIAN undefined if the processor is little-endian
|
|
|
|
(the least significant byte comes first).
|
1995-08-09 07:52:04 -07:00
|
|
|
*/
|
|
|
|
|
1996-07-01 05:43:28 -07:00
|
|
|
#define ARCH_ALIGN_DOUBLE
|
1995-08-09 07:52:04 -07:00
|
|
|
|
1996-07-01 05:43:28 -07:00
|
|
|
/* Define ARCH_ALIGN_DOUBLE if the processor requires doubles to be
|
|
|
|
doubleword-aligned. Leave ARCH_ALIGN_DOUBLE undefined if the processor
|
|
|
|
supports word-aligned doubles. */
|
1996-02-13 08:29:09 -08:00
|
|
|
|
1997-04-28 08:51:29 -07:00
|
|
|
#undef ARCH_CODE32
|
|
|
|
|
|
|
|
/* Define ARCH_CODE32 if, on a 64-bit machine, code pointers fit in 32 bits,
|
|
|
|
i.e. the code segment resides in the low 4G of the addressing space.
|
|
|
|
ARCH_CODE32 is ignored on 32-bit machines. */
|