Re: hacking gcc (new optimization)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/11 14:19, kevin diggs wrote:
> On Mon, Apr 4, 2011 at 2:16 PM, Jeff Law <law@xxxxxxxxxx> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 04/04/11 12:31, kevin diggs wrote:
>>> Hi,
>>>
>>> The optimization I am working on's goal is to change the way that
>>> string constants are accessed by architectures like the register
>>> adequate PowerPC.
>> More details please.
>>
> Can I point you to another thread to answer this? See:
> 
> http://gcc.gnu.org/ml/gcc-help/2011-02/msg00183.html
> 
> Hopefully it will explain what I am trying to do.
The trick here is you really need to build an aggregate of the objects
rather than assuming you can reference different objects from a single
base pointer and different offsets.  The assumptions for the latter
often break.

Alternately, you can do this with a combination of compiler & linker
support.  It's been done many times through the years on a variety of
architectures.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNm0R/AAoJEBRtltQi2kC7rucIAJFLGkdgxAbl805z+RGUAYVu
yA3b7t3OfeQUknfdHSvQ6VHFopI39U0GRPvIp/yWdGU646HWz0r0S3m07Vibq1DH
7kgcdU2W+SNo+DKaJerr2BwYuy5RSsUrQOpAUJ9U/yrx4BxDx5gpDIniIbMQZxEX
LBQNtBsV/GrPoFqidP7biy8jgZO4Jqs4paQoZMpeCsXE3Bnaf+F9XgFYUhO69vH9
hbzQrdWmnWvMqGKTfX1pgB8dfmGnLq6Za1UgHX99cSIUG7xx8GKiaffXJmn763/T
vfGt+nuS4Ax31HVzDU2L1oTe8FXoN1HcAQYsxF+38WSYIQEYqvxSG6DkIM3+9KE=
=uGFh
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux