public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: Kito Cheng <kito.cheng@sifive.com>
Cc: newlib@sourceware.org, kito.cheng@gmail.com
Subject: Re: [PATCH] RISC-V: Support long double math
Date: Mon, 4 Dec 2023 10:37:18 +0100	[thread overview]
Message-ID: <ZW2dzrOt1xn3Q5Y7@calimero.vinschen.de> (raw)
In-Reply-To: <20231204074139.17629-1-kito.cheng@sifive.com>

Hi Kito,

thanks, both patches pushed.

I just wonder...

On Dec  4 15:41, Kito Cheng wrote:
> diff --git a/newlib/libc/machine/riscv/machine/_fpmath.h b/newlib/libc/machine/riscv/machine/_fpmath.h
> new file mode 100644
> index 000000000..fa62ae81c
> --- /dev/null
> +++ b/newlib/libc/machine/riscv/machine/_fpmath.h
> @@ -0,0 +1,64 @@
> [...]
> +union IEEEl2bits {
> +	long double	e;
> +	struct {
> +		uint64_t	manl	:64;
> +		uint64_t	manh	:48;
> +		uint32_t	exp	:15;
> +		uint32_t	sign	:1;
> +	} bits;
> +	/* TODO andrew: Check the packing here */

...if Andrew already checked the packaging, after he pushed this
to the FreeBSD repo in 2015 :)))


Thanks,
Corinna


  reply	other threads:[~2023-12-04  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-04  7:41 Kito Cheng
2023-12-04  9:37 ` Corinna Vinschen [this message]
2023-12-04 13:47   ` Kito Cheng
2023-12-04 14:03     ` Corinna Vinschen

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=ZW2dzrOt1xn3Q5Y7@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=kito.cheng@gmail.com \
    --cc=kito.cheng@sifive.com \
    --cc=newlib@sourceware.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 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).