Re: [PATCH v5 01/10] Initial TI PRU GCC port

2018-10-18 Thread Dimitar Dimitrov
On Wednesday, 10/17/2018 22:26:58 EEST Richard Sandiford wrote: > > +; Note: "JUMP_INSNs and CALL_INSNs are not allowed to have any output > > +; reloads;". Hence this insn must be prepared for a counter that is > > +; not a register. > > +(define_insn "doloop_end_internal" > > + [(set (pc) > >

Re: [PATCH v5 01/10] Initial TI PRU GCC port

2018-10-17 Thread Richard Sandiford
Hi Dimitar, Thanks for the updates, looks good. Just a few minor things: Dimitar Dimitrov writes: > +(define_predicate "pru_muldst_operand" > + (match_code "subreg,reg") > +{ > + if (register_operand (op, mode)) > +{ > + int regno; > + > + if (REG_P (op)) > + regno = REGNO (