Not supporting all rounding modes

Kaz Kojima kkojima@rr.iij4u.or.jp
Tue May 29 20:01:00 GMT 2012


Thomas Schwinge <thomas@codesourcery.com> wrote:
> Turns out this is directly from back when Kaz and Yutaka Niibe (CCed)
> added the SH glibc port, twelve years ago.  Do you guys happen to
> remember the history about these rounding modes, or would you agree to
> remove FE_UPWARD and FE_DOWNWARD from the list of supported modes?  Or,
> does SH-4-based hardware exist that supports all four modes, and we have
> to do this in a more fine-grained fashion?

I can't recall how that file was written.  AFAIK, SH FPU supports
only two rounding modes as you pointed out and the comment in fenv.h
is simply wrong.

Regards,
	kaz



More information about the Libc-alpha mailing list