[G]CSE of extended asm statements

Alexandre Oliva aoliva@redhat.com
Wed Aug 30 12:19:00 GMT 2000


On Aug 29, 2000, Richard Henderson <rth@cygnus.com> wrote:

> On Sun, Aug 27, 2000 at 12:27:34PM -0300, Alexandre Oliva wrote:
>> I was thinking of factoring out the vector elements that are shared by
>> all output operands of a single asm statement ...

> Actually, the best way to represent this is with

>   (set (parallel [(out1) (out2) (out3)])
>        (asm_operand ...))

But then, we'd have to modify the semantics of asm_operand, since it
currently encodes the output_register number and constraint as one of
its operands.  Not that I don't like this idea :-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-patches mailing list