This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: remove the "tile" architecture from glibc
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 14 Feb 2018 16:58:00 +0000
- Subject: Re: RFC: remove the "tile" architecture from glibc
- Authentication-results: sourceware.org; auth=none
- References: <1a57be83-3349-5450-ee4f-d2a33569a728@mellanox.com> <d6c8e425-a6b6-6594-05e3-965536f06da3@physik.fu-berlin.de> <alpine.DEB.2.20.1712012159490.15078@digraph.polyomino.org.uk> <995aac59-2f9d-2a6a-2b5c-b827410ad295@physik.fu-berlin.de> <alpine.DEB.2.20.1801311732001.23883@digraph.polyomino.org.uk> <38170271-e17f-0a7e-7dd2-06fa6ddfae62@physik.fu-berlin.de> <9f8b994a-7085-e263-dd1b-bea2def55fb0@linaro.org>
On Wed, 31 Jan 2018, Adhemerval Zanella wrote:
> I will work on ia64 and sh4 results this week.
Looking at the sh4 results you posted on the wiki, I see you note many NaN
issues.
It seems from sh manuals that sh in fact uses the same reversed quiet /
signaling NaN convention as hppa and older mips (I haven't checked if
J-Core keeps this peculiarity - if it doesn't, that's a new ABI). So to
fix those failures, you need:
* Fix GCC to use mips_single_format / mips_double_format on sh (and
preferably backport this to active release branches so those generate the
correct NaNs there).
* Fix (with bug filed first, as a user-visible issue) glibc to know the
NaN format for sh as well (nan-high-order-bit.h needed, and
sysdeps/sh/soft-fp/sfp-machine.h should have _FP_QNANNEGATEDP and
_FP_NANFRAC_* updated as in the non-NAN2008 case of
sysdeps/mips/mips32/sfp-machine.h).
Given those fixed, you might then get more meaningful test results for
sh4.
--
Joseph S. Myers
joseph@codesourcery.com