OSDN Git Service

2002-06-04 Chris Demetriou <cgd@broadcom.com>
authorcgd <cgd>
Tue, 4 Jun 2002 16:17:19 +0000 (16:17 +0000)
committercgd <cgd>
Tue, 4 Jun 2002 16:17:19 +0000 (16:17 +0000)
commit1f81b694eace9a4b681af6b668fe76c6b3d13079
tree884b8fa3080505fb9bfdf814f9c08dbaba4b0a00
parent97c1e46c87bced7f93927b9f16ff586b9e2bba21
2002-06-04  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

        * cp1.c (Infinity): Remove.
        * sim-main.h (Infinity): Likewise.

        * cp1.c (fp_unary, fp_binary): New functions.
        (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div, fp_recip)
        (fp_sqrt): New functions, implemented in terms of the above.
        (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
        (Recip, SquareRoot): Remove (replaced by functions above).
        * sim-main.h (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div)
        (fp_recip, fp_sqrt): New prototypes.
        (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
        (Recip, SquareRoot): Replace prototypes with #defines which
        invoke the functions above.
sim/mips/ChangeLog
sim/mips/cp1.c
sim/mips/sim-main.h