Home | History | Annotate | Line # | Download | only in softfloat
      1  1.1  matt /*	$NetBSD: milieu.h,v 1.1 2014/09/03 19:34:26 matt Exp $	*/
      2  1.1  matt 
      3  1.1  matt /*
      4  1.1  matt ===============================================================================
      5  1.1  matt 
      6  1.1  matt This C header file is part of the SoftFloat IEC/IEEE Floating-point
      7  1.1  matt Arithmetic Package, Release 2a.
      8  1.1  matt 
      9  1.1  matt Written by John R. Hauser.  This work was made possible in part by the
     10  1.1  matt International Computer Science Institute, located at Suite 600, 1947 Center
     11  1.1  matt Street, Berkeley, California 94704.  Funding was partially provided by the
     12  1.1  matt National Science Foundation under grant MIP-9311980.  The original version
     13  1.1  matt of this code was written as part of a project to build a fixed-point vector
     14  1.1  matt processor in collaboration with the University of California at Berkeley,
     15  1.1  matt overseen by Profs. Nelson Morgan and John Wawrzynek.  More information
     16  1.1  matt is available through the Web page `http://HTTP.CS.Berkeley.EDU/~jhauser/
     17  1.1  matt arithmetic/SoftFloat.html'.
     18  1.1  matt 
     19  1.1  matt THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE.  Although reasonable effort
     20  1.1  matt has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT
     21  1.1  matt TIMES RESULT IN INCORRECT BEHAVIOR.  USE OF THIS SOFTWARE IS RESTRICTED TO
     22  1.1  matt PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY
     23  1.1  matt AND ALL LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE.
     24  1.1  matt 
     25  1.1  matt Derivative works are acceptable, even for commercial purposes, so long as
     26  1.1  matt (1) they include prominent notice that the work is derivative, and (2) they
     27  1.1  matt include prominent notice akin to these four paragraphs for those parts of
     28  1.1  matt this code that are retained.
     29  1.1  matt 
     30  1.1  matt ===============================================================================
     31  1.1  matt */
     32  1.1  matt 
     33  1.1  matt /*
     34  1.1  matt -------------------------------------------------------------------------------
     35  1.1  matt Include common integer types and flags.
     36  1.1  matt -------------------------------------------------------------------------------
     37  1.1  matt */
     38  1.1  matt #include "or1k-gcc.h"
     39  1.1  matt 
     40  1.1  matt /*
     41  1.1  matt -------------------------------------------------------------------------------
     42  1.1  matt Symbolic Boolean literals.
     43  1.1  matt -------------------------------------------------------------------------------
     44  1.1  matt */
     45  1.1  matt enum {
     46  1.1  matt     FALSE = 0,
     47  1.1  matt     TRUE  = 1
     48  1.1  matt };
     49