This is the mail archive of the gcc@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]

Re: Structure Return Testcase



  In message <20010315130847.A22538@redhat.com>you write:
  > On Thu, Mar 15, 2001 at 01:54:46PM -0700, Jeffrey A Law wrote:
  > > Do we think it makes more sense to use memmove or to do the copy through
  > > a temporary?
  > 
  > Memmove, definitely.  The bits are only shuffled once.  Do that
  > twice and you double memory bandwidth requirements.
OK.  Yea, I guess that makes sense, even given lame implementation of
memmove.

  > > Also note Loren's patch pessimizes basic structure copies, which probably
  > > is bad.
  > 
  > I don't think so.  I thought the same thing until Loren
  > pointed out that it was keyed to RESULT_DECL, which is
  > by definition a return value.
Ah.  OK.  

jeff


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