xref: /freebsd/lib/libc/powerpc64/softfloat/milieu.h (revision 2a63c3be)
1840b91ccSNathan Whitehorn /* $NetBSD: milieu.h,v 1.1 2000/12/29 20:13:54 bjh21 Exp $ */
2840b91ccSNathan Whitehorn 
3840b91ccSNathan Whitehorn /*
4840b91ccSNathan Whitehorn ===============================================================================
5840b91ccSNathan Whitehorn 
6840b91ccSNathan Whitehorn This C header file is part of the SoftFloat IEC/IEEE Floating-point
7840b91ccSNathan Whitehorn Arithmetic Package, Release 2a.
8840b91ccSNathan Whitehorn 
9840b91ccSNathan Whitehorn Written by John R. Hauser.  This work was made possible in part by the
10840b91ccSNathan Whitehorn International Computer Science Institute, located at Suite 600, 1947 Center
11840b91ccSNathan Whitehorn Street, Berkeley, California 94704.  Funding was partially provided by the
12840b91ccSNathan Whitehorn National Science Foundation under grant MIP-9311980.  The original version
13840b91ccSNathan Whitehorn of this code was written as part of a project to build a fixed-point vector
14840b91ccSNathan Whitehorn processor in collaboration with the University of California at Berkeley,
15840b91ccSNathan Whitehorn overseen by Profs. Nelson Morgan and John Wawrzynek.  More information
16840b91ccSNathan Whitehorn is available through the Web page `http://HTTP.CS.Berkeley.EDU/~jhauser/
17840b91ccSNathan Whitehorn arithmetic/SoftFloat.html'.
18840b91ccSNathan Whitehorn 
19840b91ccSNathan Whitehorn THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE.  Although reasonable effort
20840b91ccSNathan Whitehorn has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT
21840b91ccSNathan Whitehorn TIMES RESULT IN INCORRECT BEHAVIOR.  USE OF THIS SOFTWARE IS RESTRICTED TO
22840b91ccSNathan Whitehorn PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY
23840b91ccSNathan Whitehorn AND ALL LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE.
24840b91ccSNathan Whitehorn 
25840b91ccSNathan Whitehorn Derivative works are acceptable, even for commercial purposes, so long as
26840b91ccSNathan Whitehorn (1) they include prominent notice that the work is derivative, and (2) they
27840b91ccSNathan Whitehorn include prominent notice akin to these four paragraphs for those parts of
28840b91ccSNathan Whitehorn this code that are retained.
29840b91ccSNathan Whitehorn 
30840b91ccSNathan Whitehorn ===============================================================================
31840b91ccSNathan Whitehorn */
32840b91ccSNathan Whitehorn 
33840b91ccSNathan Whitehorn /*
34840b91ccSNathan Whitehorn -------------------------------------------------------------------------------
35840b91ccSNathan Whitehorn Include common integer types and flags.
36840b91ccSNathan Whitehorn -------------------------------------------------------------------------------
37840b91ccSNathan Whitehorn */
38840b91ccSNathan Whitehorn #include "powerpc-gcc.h"
39840b91ccSNathan Whitehorn 
40840b91ccSNathan Whitehorn /*
41840b91ccSNathan Whitehorn -------------------------------------------------------------------------------
42840b91ccSNathan Whitehorn Symbolic Boolean literals.
43840b91ccSNathan Whitehorn -------------------------------------------------------------------------------
44840b91ccSNathan Whitehorn */
45840b91ccSNathan Whitehorn enum {
46840b91ccSNathan Whitehorn     FALSE = 0,
47840b91ccSNathan Whitehorn     TRUE  = 1
48840b91ccSNathan Whitehorn };
49