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: [tree-ssa] Generic NRV optimization [was Re: two-elementstruct performance (was: strict-aliasing and typedefs) ]


On Thu, 2004-02-26 at 15:24, law@redhat.com wrote:

> Yes.  But in those cases the return value is going into registers anyway.
> Those cases are a smaller benefit than the one we do handle (return value
> in memory).
> 
Good point.  In which case, I guess it doesn't really matter if we
handle targets that return in registers.  If the structure has been
scalarized, you'll have a couple of additional reg-reg moves.  If not,
we will end up with the same mem-reg move that we had before.


Diego.


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