public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] x86 pseudo-normal numbers
@ 2020-12-24  2:45 Siddhesh Poyarekar
  2020-12-24  2:45 ` [PATCH v3 1/2] x86 long double: Consider pseudo numbers as signaling Siddhesh Poyarekar
  2020-12-24  2:45 ` [PATCH v3 2/2] x86 long double: Add tests for pseudo normal numbers Siddhesh Poyarekar
  0 siblings, 2 replies; 10+ messages in thread
From: Siddhesh Poyarekar @ 2020-12-24  2:45 UTC (permalink / raw)
  To: libc-alpha; +Cc: adhemerval.zanella, fweimer, joseph

Following is the patchset that harmonizes classification of
pseudo-normal numbers with gcc.  Pseudo-NaNs, Pseudo-Infinities and
unnormal numbers are considered as signaling NaN as per classification
since that is how they behave when used as operands in x86.

In summary, the patchset does the following:

- Make issignalingl return true for all pseudo-normals.
- Add tests

Changes since v1:

- Committed patches 1-3, so these are the only two remaining.

Siddhesh Poyarekar (2):
  x86 long double: Consider pseudo numbers as signaling
  x86 long double: Add tests for pseudo normal numbers

 math/libm-test-driver.c                  | 38 ++++++++++++++++++++++++
 math/libm-test-fpclassify.inc            | 14 +++++++++
 math/libm-test-isnan.inc                 | 14 +++++++++
 math/libm-test-issignaling.inc           | 14 +++++++++
 sysdeps/generic/nan-pseudo-number.h      | 32 ++++++++++++++++++++
 sysdeps/ieee754/ldbl-96/s_issignalingl.c | 11 +++++--
 sysdeps/x86/fpu/nan-pseudo-number.h      | 30 +++++++++++++++++++
 7 files changed, 150 insertions(+), 3 deletions(-)
 create mode 100644 sysdeps/generic/nan-pseudo-number.h
 create mode 100644 sysdeps/x86/fpu/nan-pseudo-number.h

-- 
2.29.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-04  9:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24  2:45 [PATCH v3 0/2] x86 pseudo-normal numbers Siddhesh Poyarekar
2020-12-24  2:45 ` [PATCH v3 1/2] x86 long double: Consider pseudo numbers as signaling Siddhesh Poyarekar
2020-12-28 16:57   ` Adhemerval Zanella
2020-12-30  5:31     ` [COMMITTED] " Siddhesh Poyarekar
2020-12-31 22:58   ` [PATCH v3 1/2] " Joseph Myers
2020-12-31 23:23     ` Andreas Schwab
2021-01-04  9:30     ` [COMMITTED] Move generic nan-pseudo-number.h to ldbl-96 Siddhesh Poyarekar
2020-12-24  2:45 ` [PATCH v3 2/2] x86 long double: Add tests for pseudo normal numbers Siddhesh Poyarekar
2020-12-28 17:04   ` Adhemerval Zanella
2020-12-31 23:09   ` Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).