Re: [SH][committed] Fix cset_zero pattern regressions

2016-09-27 Thread Oleg Endo
On Sun, 2016-09-25 at 16:06 +0900, Oleg Endo wrote: >  > This fixes a fallout that actually goes back to 5.0 but went > unnoticed.  The costs for movt and movrt type of insns were not > correctly reported and ifcvt thus made some bad choices for SH.  A > new cset_zero pattern variant is also requir

[SH][committed] Fix cset_zero pattern regressions

2016-09-25 Thread Oleg Endo
Hi, This fixes a fallout that actually goes back to 5.0 but went unnoticed. The costs for movt and movrt type of insns were not correctly reported and ifcvt thus made some bad choices for SH.  A new cset_zero pattern variant is also required to fix the matching for some recent changes in the middl