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


> This patch was conditionally approved by David Edelsohn after making the
> minor change he suggested. Here is text of his message:
<omitted>

I read his message, which is why I CC'ed him.  I don't have CVS write access
so I've never asked anyone for approval of a patch, but I sure wouldn't
consider what David wrote as approval, conditional or otherwise.

So we get to another question---presumably, on ppc64 for a memory-to-memory
move of a C double, or indeed any 8-byte value, one could use
either an FP reg or a GP reg as an intermediate register, and a GP reg will
cost more if the "natural" offset is not a multiple of 4.  Is this extra cost
taken into account when the type of register is chosen for the intermediate
move?

Brad


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