This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][BZ #3268] Add fma single/double implementations to soft-fp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]