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: [BENCHMARK]-mfpmath=sse should disable x387 intrinsics


On Thu, Nov 25, 2004 at 09:40:12AM -0700, Roger Sayle wrote:
> You could try -mno-fp-ret-in-387 which produces much prettier code but
> breaks standard ABIs.  Indeed, the 386.c backend could probably be tweaked
> to implictly perform the equivalent of "-mno-fp-ret-in-387" when using
> "-mfpmath=sse" for static functions within a single compilation unit.
> Alternatively, it could also perform the equivalent of a hypothetical
> "-mfp-ret-in-sse" in exactly these cases too.

Yeah, for static functions it should probably also pass say float and
double arguments in SSE registers as well, not on the stack, not just
vector arguments.

	Jakub


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