2002-06-04 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Tue, 4 Jun 2002 16:17:20 +0000 (16:17 +0000)
committerChris Demetriou <cgd@google.com>
Tue, 4 Jun 2002 16:17:20 +0000 (16:17 +0000)
commitba46ddd0cfad2b1e03163d32253e8f6f2c7427e6
treed8a924fa42f6a9c494d0a5ced05deab64d331a56
parentae2ab2ce36add94113c2ce747f8e726a7fc52e3b
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