From: Jon Chesterfield <jonathanchesterfield@gmail.com>
To: musl@lists.openwall.com
Subject: Re: Cortex-M support / single float
Date: Thu, 13 Sep 2018 12:30:45 +0100 [thread overview]
Message-ID: <CAOUYtQA4aBhpTZMeOLDPzb15xRoB0bzZbJD6Jv6-p6p_6XerWg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
> note that a large part of the float code in libc is in the
> math library which expects efficient double arithmetics,
> i plan to rewrite the most important single precision math
> functions using double arithmetics, this gives significant
> benefits on all systems except ones with single precision
> only hw.
>
I'm responsible for libm on an architecture with 32bit float in hardware
and 64bit float via integer ops. It's derived from musl because I like musl.
Currently operations written in terms of double are rather slow. Would
upstream accept functions optimised for a 32bit float+int system? I haven't
written them yet but it's on the todo list.
Cheers
Jon
>
[-- Attachment #2: Type: text/html, Size: 1252 bytes --]
next reply other threads:[~2018-09-13 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-13 11:30 Jon Chesterfield [this message]
2018-09-13 12:51 ` Szabolcs Nagy
2018-09-13 15:39 ` Rich Felker
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=CAOUYtQA4aBhpTZMeOLDPzb15xRoB0bzZbJD6Jv6-p6p_6XerWg@mail.gmail.com \
--to=jonathanchesterfield@gmail.com \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).