> -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On > Behalf Of Chuckdun > Sent: 22 June 2012 19:05 > To: gcc-help@xxxxxxxxxxx > Subject: RE: RTL > > > Re, > First thanks for your interest. > I am trying to write a new instruction, on the mips.md of > gcc/config/mips i have include this: As rightly suggested by Ian, please go through the gcc documentation. Apart from that, mips.md file in itself contains a lot of instruction patterns. It will do good to go through these instruction patterns as examples, and map them with the corresponding mips instruction. > > (define_insn "newsub" > [(set (match_operand "register_operand" "r") > (match_operand "register_operand" "r"))] > "" > "newsub %0,%1,%2" > ) > > Now the errors: > I have troubles because it seems i have forget a comma or a braket ... > But it seems ok for me ... > By the way I want to know more about this RTL because i want to do more > complex instructions. > It is just for learning but i want to do things seriouly Thanks in > advance > > José aka Chuckdun > > > Deepti Sharma wrote: > > > > Could you please detail on the requirement? What exactly are you > > looking for about RTL? > > > > > >> -----Original Message----- > >> From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] > >> On Behalf Of Chuckdun > >> Sent: 22 June 2012 18:25 > >> To: gcc-help@xxxxxxxxxxx > >> Subject: RTL > >> > >> > >> Hello, > >> I am looking for a documentation, website or more for RTL with GCC. > >> I want to create a new instruction for learning, and in spite of > lots > >> of try i am not able to build something working. > >> So i need more: > >> documentation about this rtl > >> more tutorials to understand > >> Thanks for the help > >> > >> -- > >> View this message in context: http://old.nabble.com/RTL- > >> tp34054207p34054207.html Sent from the gcc - Help mailing list > >> archive at Nabble.com. > > > > > > > > -- > View this message in context: http://old.nabble.com/RTL- > tp34054207p34054400.html > Sent from the gcc - Help mailing list archive at Nabble.com.