PowerPC 64 x 32 bits performance
Alan Modra
amodra@bigpond.net.au
Mon Mar 7 06:15:00 GMT 2005
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
More information about the Gcc
mailing list