Re: converting rtx object to the assembly instruction.

2013-08-15 Thread David Given
David Malcolm wrote: [...] > Out of interest, how portable is open_memstream (and if not, is there a > good portable way of doing this)? I have to do similar things in my > python plugin for GCC, and currently I'm using fmemopen. IIRC that > latter one is not available on OS X, and was one of the

Re: converting rtx object to the assembly instruction.

2013-08-14 Thread David Malcolm
On Wed, 2013-08-14 at 11:53 +0300, Viktor Pobedin wrote: > On 8/13/2013 10:37 PM, Richard Sandiford wrote: > > Viktor Pobedin writes: > >> Is there a simple way to convert rtx object to the assemble > >> insutruction? Ideally I would like to have function something like: > >> const char *rtx

Re: converting rtx object to the assembly instruction.

2013-08-14 Thread Viktor Pobedin
On 8/13/2013 10:37 PM, Richard Sandiford wrote: Viktor Pobedin writes: Is there a simple way to convert rtx object to the assemble insutruction? Ideally I would like to have function something like: const char *rtx2asm(rtx insn); returning a string with the asm instruction for the insn.

Re: converting rtx object to the assembly instruction.

2013-08-13 Thread Richard Sandiford
Viktor Pobedin writes: > Is there a simple way to convert rtx object to the assemble > insutruction? Ideally I would like to have function something like: > const char *rtx2asm(rtx insn); > returning a string with the asm instruction for the insn. > > Closest thing that I found is the final_