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: [RFC] Enable SSE2 math intrinsics for fpmath=sse and fast-math


Richard Henderson wrote:
> On Wed, Jun 08, 2005 at 11:16:08PM +0200, Richard Guenther wrote:
> 
>>>	double g (double x) { return f(x); }
> 
> ...
> 
>>>We should not be calling __libm_sse2_sin here.
>>
>>Why? Btw., with the current patch we do.
> 
> 
> Because it has different calling conventions, of course!  We can't
> substitute one for another unless we have full control of all of 
> the call sites.

Oh, right.  Btw, with the first patch dispatching in expand_call we
would not have this problem.  But that approach was much more
invasive.

Richard.


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