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, i386] Optionally use %xmm0 to return float and/or double values (take 3)


On Sat, Jan 29, 2005 at 02:46:52PM -0500, Daniel Jacobowitz wrote:
> > So what does gdb do about transparently regparm(2/3)ized local functions?
> > They apparently do work in inferior calls.
> 
> GDB, at least the copy I'm looking at, has no support for regparm at
> all.  You may just be lucky :-)  It always appears to push arguments
> onto the stack (i386_push_dummy_call).

Oops, I must have built a testcase for transparent regparamization with -O0
or something.  Can't reproduce it any longer.

But in that case gdb inferior calls argument shouldn't be something
that prevents this optimization, as you already can't call such functions
in inferior with stock gcc, so the patch doesn't make it any worse.

	Jakub


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