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]
Other format: [Raw text]

Re: PowerPC 64 x 32 bits performance


On Fri, Mar 04, 2005 at 04:59:25PM -0600, Edmar Wienskoski wrote:
> and notice a considerable number of load instructions in the 64 bits one.
> 
> Does anyone have an insight on why this is happening ?

These are most likey 64-bit address constant loads.  On ppc32, a 32-bit
address constant can be calculated in at most 2 instructions.  A 64-bit
address takes up to 5 instructions to calculate in-line, or a TOC memory
load.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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