Commit Graph

2 Commits

Author SHA1 Message Date
Richard Henderson
9dc874df52 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
of arithmetic instructions.

        * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
        with the fpcr.  Protect from INV exception.
        * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
        * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
        * sysdeps/alpha/fpu/s_floorf.c: Likewise.

        * sysdeps/alpha/fpu/s_copysign.c: New.
        * sysdeps/alpha/fpu/s_copysignf.c: New.
        * sysdeps/alpha/fpu/s_fabs.c: New.
        * sysdeps/alpha/fpu/s_fabsf.c: New.
        * sysdeps/alpha/fpu/s_rint.c: New.
        * sysdeps/alpha/fpu/s_rintf.c: New.
2000-03-20 20:32:11 +00:00
Richard Henderson
d7bb0de178 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
        * sysdeps/alpha/fpu/s_floor.c: New.
        * sysdeps/alpha/fpu/s_floorf.c: New.
        * sysdeps/alpha/fpu/s_ceil.c: New.
        * sysdeps/alpha/fpu/s_ceilf.c: New.
1998-08-23 04:09:49 +00:00