Question on GCC register optimization.

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

 



Hello All,

I am still working on a GCC backend for a custom processor.

When running the compiler with following flags:

gcc -O3 -S -c -fcprop-registers -frename-registers,

I find out it does not optimize the allocation of the registers.
The routine used is simple function, and what I see is that
it allocates excess registers, in short, it does not optimize
register usage. I would expect it:
 - performs register lifetime analysis
 - performs register renames as to minimize cost.

Question is: I think I invoked the 2 optimizers. Could
  anybody point me to documentation on them ?. I think
  I am missing some target 'hooks', but I have no idea what it is.

Best Regards,

Henri.




[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