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: powerpc & unaligned block moves with fp registers


On 11 Nov, David Edelsohn wrote:

>> Depends on the CPU, The latest PPCs for example combine
>> accesses under most conditions, however having several
>> accesses instead of a single one will lead to higher I-Cache
>> pressure. I would prefer aligning the complete structure on a
>> natural boundary and extract single components by masking
>> them.

> 	Aligning the structure on particular boundaries violates the
> existing PowerPC ABIs.  Next...

So the linker is not free to choose where to put the structures in
memory? Dang, I haven't thought about this I have to admit. At least we
could issue a warning telling the developper to reconsider the structure
entries to get a better alignment.

--
Servus,
       Daniel 


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