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

Steven Munroe munroesj@us.ibm.com
Fri Oct 13 18:31:00 GMT 2006


Joseph S. Myers wrote:
>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 
>  
Ya... TItype (The "T" in the type versu the "_Q" ending on the macros is
confusing.

What about TFtype? is it also limited to platforms that implement long
double? In this case it is only use for a simple transfer to/from the
packed structure.
>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.
>
>  



More information about the Libc-alpha mailing list