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

Joseph S. Myers joseph@codesourcery.com
Fri Oct 13 17:12:00 GMT 2006


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



More information about the Libc-alpha mailing list