public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fenv support round 2
@ 2019-08-28 15:07 joel
  2019-08-28 15:07 ` [PATCH 3/3] Add i386 and x86_64 fenv support from Cygwin joel
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: joel @ 2019-08-28 15:07 UTC (permalink / raw)
  To: newlib; +Cc: Joel Sherrill

From: Joel Sherrill <joel@rtems.org>

There are three patches in this set and hopefully two will be uncontroversial.

(1) The common include/fenv.h was copied from riscv, so delete the 
copy in the libc/machine/riscv directory.

(2) Add glibc extension FE_NOMASK_ENV to template sys/fenv.h.
Code was copied from Cygwin fenv.h.

(3) Add x86_64 and i386 fenv support by copying from Cygwin. No
functional changes were made. This needs some help.

   (a) x86_64 isn't picking up fenv.c. Not sure what isn't bootstrapping right.
       Help needed to get it integrated into libm build.
   (b) I added a copyright to fenv.c since it just said "part of Cygwin".
       I hope it is right.
   (c) Any other comments.

After (3) is merged, a Cygwin maintainer will need to clean up winsup
and make sure all is good.

Thanks.

--joel

Joel Sherrill (3):
  riscv/include/fenv.h: Use shared fenv.h.
  libc/include/sys/fenv.h: Add glibc extension of FE_NOMASK_ENV.
  Add i386 and x86_64 fenv support from Cygwin.

 newlib/libc/include/sys/fenv.h           |   9 +
 newlib/libc/machine/i386/sys/fenv.h      |   1 +
 newlib/libc/machine/riscv/include/fenv.h |  42 ---
 newlib/libc/machine/x86_64/sys/fenv.h    | 150 ++++++++++
 newlib/libm/machine/i386/Makefile.am     |   2 +-
 newlib/libm/machine/i386/fenv.c          |   1 +
 newlib/libm/machine/x86_64/Makefile.am   |  18 ++
 newlib/libm/machine/x86_64/fenv.c        | 485 +++++++++++++++++++++++++++++++
 8 files changed, 665 insertions(+), 43 deletions(-)
 create mode 120000 newlib/libc/machine/i386/sys/fenv.h
 delete mode 100644 newlib/libc/machine/riscv/include/fenv.h
 create mode 100644 newlib/libc/machine/x86_64/sys/fenv.h
 create mode 120000 newlib/libm/machine/i386/fenv.c
 create mode 100644 newlib/libm/machine/x86_64/Makefile.am
 create mode 100644 newlib/libm/machine/x86_64/fenv.c

-- 
1.8.3.1

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

end of thread, other threads:[~2019-08-29 11:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 15:07 [PATCH 0/3] fenv support round 2 joel
2019-08-28 15:07 ` [PATCH 3/3] Add i386 and x86_64 fenv support from Cygwin joel
2019-08-28 15:41   ` Corinna Vinschen
2019-08-28 16:57     ` Joel Sherrill
2019-08-29  8:03       ` Corinna Vinschen
2019-08-28 15:07 ` [PATCH 1/3] riscv/include/fenv.h: Use shared fenv.h joel
2019-08-29 11:50   ` Kito Cheng
2019-08-28 15:07 ` [PATCH 2/3] libc/include/sys/fenv.h: Add glibc extension of FE_NOMASK_ENV joel
2019-08-28 23:40   ` Howland, Craig D. - US via newlib
2019-08-28 15:27 ` [PATCH 0/3] fenv support round 2 Corinna Vinschen
2019-08-28 15:45   ` Joel Sherrill
2019-08-28 15:51     ` Corinna Vinschen

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).