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

2018-09-24 Thread Dimitar Dimitrov
On Monday, 9/24/2018 11:38:23 EEST Richard Sandiford wrote: > Dimitar Dimitrov writes: > > On Thursday, 9/13/2018 13:02:21 EEST Richard Sandiford wrote: > >> Dimitar Dimitrov writes: > >> > +/* Callback for walk_gimple_seq that checks TP tree for TI ABI > >> > compliance. */ +static tree > >> >

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

2018-09-24 Thread Jeff Law
On 9/24/18 4:38 AM, Richard Sandiford wrote: > Dimitar Dimitrov writes: >> On Thursday, 9/13/2018 13:02:21 EEST Richard Sandiford wrote: >>> Dimitar Dimitrov writes: +(define_insn "sub_impl_>>> _zext_op2>" + [(set (match_operand:EQD 0 "register_operand" "=r,r,r") + (minus:EQD >>>

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

2018-09-24 Thread Richard Sandiford
Dimitar Dimitrov writes: > On Thursday, 9/13/2018 13:02:21 EEST Richard Sandiford wrote: >> Dimitar Dimitrov writes: >> > +(define_insn >> > "sub_impl_> > _zext_op2>" + [(set (match_operand:EQD 0 "register_operand" "=r,r,r") >> > + (minus:EQD >> > + (zero_extend:EQD >> > +(match_operand:E

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

2018-09-22 Thread Dimitar Dimitrov
On Thursday, 9/13/2018 13:02:21 EEST Richard Sandiford wrote: > Dimitar Dimitrov writes: > > +(define_insn > > "sub_impl_ > _zext_op2>" + [(set (match_operand:EQD 0 "register_operand" "=r,r,r") > > + (minus:EQD > > +(zero_extend:EQD > > + (match_operand:EQS0 1 "reg_or_ubyte_operand" "r,

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

2018-09-13 Thread Richard Sandiford
Dimitar Dimitrov writes: > +; Specialized IOR/AND patterns for matching setbit/clearbit instructions. > +; > +; TODO - allow clrbit and setbit to support (1 << REG) constructs > + > +(define_insn "clearbit__" > + [(set (match_operand:EQD 0 "register_operand" "=r") Nit: stray tab instead of