On Wed, 2017-12-06 at 19:12:28 UTC, Desnes Augusto Nunes do Rosario wrote:
> powerpc64 gcc can generate code that offsets an address, to access part of
> an object in memory. If the address is a -mcmodel=medium toc pointer
> relative address then code like the following is possible.
>
> addis
Desnes Augusto Nunes do Rosário writes:
...
>
> Lastly, will you fix it up or do you want me to send a second version
> then? Whatever is best for you.
No that's fine I've done those changes, no need to send another version.
cheers
Hello Michael,
On 12/07/2017 10:25 AM, Michael Ellerman wrote:
Hi Desnes,
Am I right that Alan largely wrote this patch?
If so it should probably be From: him, so that he is the author in the
git log.
Yes, Alan Modra is the main author and I am just committing it with
minor changes. Thus,
Hi Desnes,
Am I right that Alan largely wrote this patch?
If so it should probably be From: him, so that he is the author in the
git log.
Desnes Augusto Nunes do Rosario writes:
> diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
> index 1381693..c472f5b
powerpc64 gcc can generate code that offsets an address, to access part of
an object in memory. If the address is a -mcmodel=medium toc pointer
relative address then code like the following is possible.
addis r9,r2,var@toc@ha
ld r3,var@toc@l(r9)
ld r4,(var+8)@toc@l(r9)
This works fine so long