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: ridiculous amounts of padding




  In message <199901121950.OAA15108@rabi.phys.columbia.edu>you write:
  > Alignment for efficient copying is a win here, but wouldn't 8 byte
  > alignment
  > suffice (to be able to use aligned 64 bit load/store instructions)?  I'm
  > pretty certain this is so for x86, not as sure for other platforms.
Depends on the str* mem* implementations available on the target system.

I've worked on some that would do things like 4X unrolled copies through
64bit wide FP regs if the alignments allowed it.

I'm not saying the alignment isn't over-aggressive, just that it's not as 
clear cut as you may think.

jeff


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