[COMMITTED] Move generic nan-pseudo-number.h to ldbl-96

Message ID 20210104093031.2076325-1-siddhesh@sourceware.org
State Committed
Commit 520b1df08de68a3de328b65a25b86300a7ddf512
Headers
Series [COMMITTED] Move generic nan-pseudo-number.h to ldbl-96 |

Commit Message

Siddhesh Poyarekar Jan. 4, 2021, 9:30 a.m. UTC
  > I don't think this belongs in sysdeps/generic/.  The "pseudo-number"
> concept is specific to the ldbl-96 format; a "generic" header is really
> something specific to ldbl-96 and so should go in sysdeps/ieee754/ldbl-96/

Done with this commit.

> instead.  (x86 and m68k have different rules regarding what encodings are
> valid.  ia64 manuals seem to suggest that only a subset of the encodings
> that are invalid on x86 are also invalid on ia64 but I don't have access
> to hardware to test.)

I retained old behaviour on these platforms with the assumption that
architecture maintainers will do what is right.  It already does the
right thing for m68k AFAICT, which is to ignore the significand MSB.

Siddhesh

-----------

The concept of pseudo number formats only exists in the realm of the
96 bit long double format.
---
 sysdeps/{generic => ieee754/ldbl-96}/nan-pseudo-number.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename sysdeps/{generic => ieee754/ldbl-96}/nan-pseudo-number.h (100%)
  

Patch

diff --git a/sysdeps/generic/nan-pseudo-number.h b/sysdeps/ieee754/ldbl-96/nan-pseudo-number.h
similarity index 100%
rename from sysdeps/generic/nan-pseudo-number.h
rename to sysdeps/ieee754/ldbl-96/nan-pseudo-number.h