This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Not supporting all rounding modes (was: [PATCH 1/4 v3] [SH/SH4]:Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenv)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org, iwamatsu at nigauri dot org, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Tue, 29 May 2012 13:13:05 +0000 (UTC)
- Subject: Re: Not supporting all rounding modes (was: [PATCH 1/4 v3] [SH/SH4]:Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenv)
- References: <1333589869-2155-1-git-send-email-iwamatsu@nigauri.org><20120405.120912.498906559.kkojima@rr.iij4u.or.jp> <874nrgrwtb.fsf@schwinge.name><20120517.100700.343514873.kkojima@rr.iij4u.or.jp> <87396xrc7u.fsf@schwinge.name><87r4u39lwf.fsf@schwinge.name>
On Tue, 29 May 2012, Thomas Schwinge wrote:
> As far as I can tell, glibc is currently prepared to handle either no
> rounding modes, or all four -- but SH-4A apparently only supports two.
> Or am I missing some information?
It should support arbitrary subsets, though you may need to define
__FE_UNDEFINED to an invalid mode as done on Tile for libm-test.inc to
work.
--
Joseph S. Myers
joseph@codesourcery.com