There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended. Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
30 lines
915 B
C
30 lines
915 B
C
/* $NetBSD: ieeefp.h,v 1.3 2010/07/31 21:47:54 joerg Exp $ */
|
|
|
|
/*
|
|
* Written by J.T. Conklin, Apr 6, 1995
|
|
* Public domain.
|
|
*/
|
|
|
|
#ifndef _X86_IEEEFP_H_
|
|
#define _X86_IEEEFP_H_
|
|
|
|
#include <sys/featuretest.h>
|
|
#include <machine/fenv.h>
|
|
|
|
typedef int fp_except;
|
|
#define FP_X_INV FE_INVALID /* invalid operation exception */
|
|
#define FP_X_DNML FE_DENORMAL /* denormalization exception */
|
|
#define FP_X_DZ FE_DIVBYZERO /* divide-by-zero exception */
|
|
#define FP_X_OFL FE_OVERFLOW /* overflow exception */
|
|
#define FP_X_UFL FE_UNDERFLOW /* underflow exception */
|
|
#define FP_X_IMP FE_INEXACT /* imprecise (loss of precision) */
|
|
|
|
typedef enum {
|
|
FP_RN=FE_TONEAREST, /* round to nearest representable number */
|
|
FP_RM=FE_DOWNWARD, /* round toward negative infinity */
|
|
FP_RP=FE_UPWARD, /* round toward positive infinity */
|
|
FP_RZ=FE_TOWARDZERO /* round to zero (truncate) */
|
|
} fp_rnd;
|
|
|
|
#endif /* _X86_IEEEFP_H_ */
|