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


>>>>> Richard Kenner writes:

Richard> I think that GCC should choose an integral mode for a struct as often s it
Richard> can since that will allow objects of that type to be put in registers.

	So you recommend intercepting this in expand_expr where it chooses
the mode for the MEM?  There should be some part of the common GCC backend
that checks SLOW_UNALIGNED_ACCESS.  Further down the call chain DImode
already has been chosen and breaking the DImode into smaller pieces after
the fact seems like a kludge to me.

David


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