This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] libgcc variant (was: [PATCH] Optionally emit SSE ABIlibm calls on x86)



On Mon, 11 Jul 2005, Richard Henderson wrote:

> On Mon, Jul 11, 2005 at 11:56:00AM -0700, Ian Lance Taylor wrote:
> > I think that if we do put libmsse in gcc, we should put it in a
> > framework which makes it straightforward to extend to other processors
> > and processor variants.
> 
> Eh, maybe.  Without seeing these hypothetical processor variants
> and the ABI issues that they present, it's hard to know how to 
> properly generalize such a framework.
> 
> My guess is that most other processor variants will be embedded,
> and take the normal course of simply changing the ABI to nicely
> accomodate their new feature.  I suppose arm-linux might be an
> exception here, since in theory it supports at least 3 fp units.
> 
> Finally, I expect the sse bits will eventually be written primarily
> in assembly, making the extension to other processors less useful.

Indeed.  And I expect the sse bits to be 1-to-1 compatible with a
variant for x86_64 which will end up in glibc libm, so it's really
sad we have to duplicate that code outside of glibc.

Richard.


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