From: Stafford Horne <shorne@gmail.com>
To: GLIBC patches <libc-alpha@sourceware.org>
Cc: Linux OpenRISC <linux-openrisc@vger.kernel.org>,
Stafford Horne <shorne@gmail.com>
Subject: [PATCH 0/2] OpenRISC glibc hard float support
Date: Fri, 29 Mar 2024 07:40:42 +0000 [thread overview]
Message-ID: <20240329074044.1961252-1-shorne@gmail.com> (raw)
This series adds hardware floating point support to the OpenRIS glibc port.
I will keep this cover letter short and point to patch 1/2. It contains details
about the change and testing results.
Stafford Horne (2):
or1k: Add hard float support
build-many-glibcs.py: Add openrisc hard float glibc variant
scripts/build-many-glibcs.py | 5 +-
sysdeps/or1k/fpu/fclrexcpt.c | 44 +
sysdeps/or1k/fpu/fegetenv.c | 32 +
sysdeps/or1k/fpu/fegetmode.c | 29 +
sysdeps/or1k/fpu/fegetround.c | 29 +
sysdeps/or1k/fpu/feholdexcpt.c | 33 +
sysdeps/or1k/fpu/fenv_private.h | 199 +++
sysdeps/or1k/fpu/fesetenv.c | 32 +
sysdeps/or1k/fpu/fesetexcept.c | 35 +
sysdeps/or1k/fpu/fesetmode.c | 39 +
sysdeps/or1k/fpu/fesetround.c | 39 +
sysdeps/or1k/fpu/feupdateenv.c | 33 +
sysdeps/or1k/fpu/fgetexcptflg.c | 29 +
.../or1k/fpu/fix-fp-int-convert-overflow.h | 38 +
sysdeps/or1k/fpu/fraiseexcpt.c | 67 +
sysdeps/or1k/fpu/fsetexcptflg.c | 43 +
sysdeps/or1k/fpu/ftestexcept.c | 27 +
sysdeps/or1k/fpu/get-rounding-mode.h | 38 +
sysdeps/or1k/fpu/libm-test-ulps | 1115 +++++++++++++++++
sysdeps/or1k/fpu/libm-test-ulps-name | 1 +
sysdeps/or1k/fpu_control.h | 61 +
sysdeps/or1k/libm-test-ulps-name | 1 -
sysdeps/or1k/math-tests-snan-payload.h | 26 +
sysdeps/or1k/math-tests-trap.h | 27 +
sysdeps/or1k/{ => nofpu}/libm-test-ulps | 0
sysdeps/or1k/nofpu/libm-test-ulps-name | 1 +
sysdeps/or1k/sfp-machine.h | 18 +-
sysdeps/unix/sysv/linux/or1k/getcontext.S | 6 +
sysdeps/unix/sysv/linux/or1k/setcontext.S | 6 +
sysdeps/unix/sysv/linux/or1k/swapcontext.S | 12 +
sysdeps/unix/sysv/linux/or1k/sys/ucontext.h | 1 +
sysdeps/unix/sysv/linux/or1k/ucontext_i.sym | 3 +
32 files changed, 2065 insertions(+), 4 deletions(-)
create mode 100644 sysdeps/or1k/fpu/fclrexcpt.c
create mode 100644 sysdeps/or1k/fpu/fegetenv.c
create mode 100644 sysdeps/or1k/fpu/fegetmode.c
create mode 100644 sysdeps/or1k/fpu/fegetround.c
create mode 100644 sysdeps/or1k/fpu/feholdexcpt.c
create mode 100644 sysdeps/or1k/fpu/fenv_private.h
create mode 100644 sysdeps/or1k/fpu/fesetenv.c
create mode 100644 sysdeps/or1k/fpu/fesetexcept.c
create mode 100644 sysdeps/or1k/fpu/fesetmode.c
create mode 100644 sysdeps/or1k/fpu/fesetround.c
create mode 100644 sysdeps/or1k/fpu/feupdateenv.c
create mode 100644 sysdeps/or1k/fpu/fgetexcptflg.c
create mode 100644 sysdeps/or1k/fpu/fix-fp-int-convert-overflow.h
create mode 100644 sysdeps/or1k/fpu/fraiseexcpt.c
create mode 100644 sysdeps/or1k/fpu/fsetexcptflg.c
create mode 100644 sysdeps/or1k/fpu/ftestexcept.c
create mode 100644 sysdeps/or1k/fpu/get-rounding-mode.h
create mode 100644 sysdeps/or1k/fpu/libm-test-ulps
create mode 100644 sysdeps/or1k/fpu/libm-test-ulps-name
create mode 100644 sysdeps/or1k/fpu_control.h
delete mode 100644 sysdeps/or1k/libm-test-ulps-name
create mode 100644 sysdeps/or1k/math-tests-snan-payload.h
create mode 100644 sysdeps/or1k/math-tests-trap.h
rename sysdeps/or1k/{ => nofpu}/libm-test-ulps (100%)
create mode 100644 sysdeps/or1k/nofpu/libm-test-ulps-name
--
2.44.0
next reply other threads:[~2024-03-29 7:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-29 7:40 Stafford Horne [this message]
2024-03-29 7:40 ` [PATCH 1/2] or1k: Add hard float support Stafford Horne
2024-04-16 14:04 ` Adhemerval Zanella Netto
2024-04-16 14:53 ` Richard Henderson
2024-04-16 16:20 ` Adhemerval Zanella Netto
2024-04-16 19:56 ` Richard Henderson
2024-04-16 20:37 ` Stafford Horne
2024-03-29 7:40 ` [PATCH 2/2] build-many-glibcs.py: Add openrisc hard float glibc variant Stafford Horne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240329074044.1961252-1-shorne@gmail.com \
--to=shorne@gmail.com \
--cc=libc-alpha@sourceware.org \
--cc=linux-openrisc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.