mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
e7d939bda2
This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
27 lines
619 B
C
27 lines
619 B
C
/*
|
|
* MD header for contrib/gdtoa
|
|
*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/*
|
|
* NOTE: The definitions in this file must be correct or strtod(3) and
|
|
* floating point formats in printf(3) will break! The file can be
|
|
* generated by running contrib/gdtoa/arithchk.c on the target
|
|
* architecture. See contrib/gdtoa/gdtoaimp.h for details.
|
|
*/
|
|
#include <machine/endian.h>
|
|
|
|
#if BYTE_ORDER == BIG_ENDIAN
|
|
#define IEEE_MC68k
|
|
#define Arith_Kind_ASL 2
|
|
#define Double_Align
|
|
#else
|
|
/* TODO: Generate these values on a LE machine */
|
|
#define IEEE_8087
|
|
#define Arith_Kind_ASL 1
|
|
#define Long int
|
|
#define Intcast (int)(long)
|
|
#define Double_Align
|
|
#endif
|