On Mon, Jun 14, 2010 at 12:25 AM, Basile Starynkevitch
<bas...@starynkevitch.net> wrote:
>
> Why do you want to optimize the generated assembly code? AFAIK, all
> optimization passes in GCC work on some intermediate representation
> which is not the assembly code, and many of them work on Gimple.
> ...
> ... GCC emit textual assembly code. The
> assembler (that is binutils, not GCC) know that nop is 0f 1f.
>
> Cheers.
>
> PS. I might have some details wrong; I am not very familiar with GCC
> back-ends & RTL passes.
>
> --
> Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
> email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
> 8, rue de la Faiencerie, 92340 Bourg La Reine, France
> *** opinions {are only mines, sont seulement les miennes} ***
>
>

Yes, thanks. I have already seen that GCC does not have the
instruction codes. Nevertheless I have to work on the low-level. At
the back-end. It is a feature of my work :).
So, maybe I'll just switch to inserting my code into binutils, or mao project.

Ilya K

Reply via email to