How to go for peephole optimizations

Ian Lance Taylor iant@google.com
Tue Feb 23 22:00:00 GMT 2010


rohitgeek <rohit23taneja@gmail.com> writes:

> Can i get the basic information about applying peephole optimizations when
> porting gcc for a new processor. Also how to generate single instruction in
> assembly for complex instructions like MAC( multiply and accumulate) instead
> of two instructions( mul and add seperate).

This is all documented in the gcc internals documentation.

http://gcc.gnu.org/onlinedocs/gccint/

Ian



More information about the Gcc-help mailing list