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: PATCH:[darwin] fix load of a misaligned double word


	DImode and DFmode need to be treated different (similarly TImode
and TFmode), but DImode can fit in FPR and DFmode can fit in GPR so movdi
and movdf support those loads and stores.  If GCC picks the wrong register
class, ... oops.

	GCC takes into account the numbers of registers used for a move in
the cost of register preferences, but it could take alignment into account
more effectively.

David


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