This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH][BZ #3268] Add fma single/double implementations to soft-fp
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Steven Munroe <munroesj at us dot ibm dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, libc-alpha at sources dot redhat dot com, libc-ports at sources dot redhat dot com, David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 13 Oct 2006 17:12:04 +0000 (UTC)
- Subject: Re: [PATCH][BZ #3268] Add fma single/double implementations to soft-fp
- References: <452E718A.7080102@us.ibm.com> <20061013102553.GA5868@sunsite.mff.cuni.cz> <452F9AE2.4070204@us.ibm.com>
On Fri, 13 Oct 2006, Steven Munroe wrote:
> typedef int QItype __attribute__ ((mode (QI)));
QImode is always char. What you want is TImode (128 bits), but it's only
available on 64-bit targets. But since all you need here is an
intermediate opaque representation, perhaps struct { long long x[2]; }
would suffice. (With associated changes to allow the "quad" code to use
this structure instead of "long double" on targets where it's only used as
an intermediate.)
I agree that the best approach is to avoid the intermediate pack/unpack
somehow so that you never need use the quad representation.
--
Joseph S. Myers
joseph@codesourcery.com