This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR optimization/10876


>     No, I only exposed the problem in RTL notation to avoid using SPARC
>     assembly.  In other words: the direct translation in SPARC assembly of
>     the first form is impossible, while that of the second is possible.
>
> Of course it's "possible" since they are *the same*!

Uh... I fail to see the logic, probably because I again badly explained 
myself. What I want to say is that you can't write

	add     %i0, 4096, %i0

whereas you can write

        sub     %i0, -4096, %i0

in SPARC language.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]