Thanks guys, that's the problem. I think the bcond and cmp patterns have been rearchitected to use cbranch? Thanks On Fri, Aug 23, 2013 at 6:33 AM, Chung-Ju Wu <jasonwucj@xxxxxxxxx> wrote: > 2013/8/23 Paulo Matos <pmatos@xxxxxxxxxxxx>: >>> -----Original Message----- >>> From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On >>> Behalf Of Hendrik Greving >>> Sent: 23 August 2013 01:29 >>> To: gcc-help@xxxxxxxxxxx >>> Subject: Problem with cbranch_optab >>> >>> It looks like that cbranch_optab and mode SI returns CODE_FOR_nothing, >>> my backend does have cmpsi, cmpdi however. >>> >> >> Have you defined cbranchsi4? >> >> -- > > Also, IIRC, the cmp<mode> naming patterns are abandoned after gcc-4.5. > So if you want to migrate your md design to current gcc code base, > you have to design cbranch<mode>4 naming patterns instead. > > Best regards, > jasonwucj