[PATCH, i386] Optionally use %xmm0 to return float and/or double values (take 3)
Jakub Jelinek
jakub@redhat.com
Sat Jan 29 21:24:00 GMT 2005
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
More information about the Gcc-patches
mailing list