[PATCH, i386]: Macroize DIVMOD patterns

2019-05-14 Thread Uros Bizjak
Recent work by Richard Sandiford [1] enabled the possibility to macroize DIVMOD patterns in i386.md. 2019-05-14 Uroš Bizjak * config/i386/i386.md (any_div): New code iterator. (paired_mod): New code attribute. (sgnprefix): Handle DIV and UDIV RTXes. (u): Ditto. (divmod4): M

Re: [PATCH, i386]: Macroize DIVMOD patterns

2019-05-15 Thread Richard Biener
On Tue, May 14, 2019 at 6:23 PM Uros Bizjak wrote: > > Recent work by Richard Sandiford [1] enabled the possibility to > macroize DIVMOD patterns in i386.md. > > 2019-05-14 Uroš Bizjak > > * config/i386/i386.md (any_div): New code iterator. > (paired_mod): New code attribute. > (sgn

Re: [PATCH, i386]: Macroize DIVMOD patterns

2019-05-15 Thread Jakub Jelinek
On Wed, May 15, 2019 at 02:15:43PM +0200, Richard Biener wrote: > I see > > FAIL: gcc.target/i386/udivmod-1.c execution test > > on x86_64. And on i686-linux too. Jakub

Re: [PATCH, i386]: Macroize DIVMOD patterns

2019-05-15 Thread Uros Bizjak
I somehow missed this testsuite failure... Attached patch is needed. I'll commit it later today. Uros. On Wed, May 15, 2019 at 2:16 PM Richard Biener wrote: > > On Tue, May 14, 2019 at 6:23 PM Uros Bizjak wrote: > > > > Recent work by Richard Sandiford [1] enabled the possibility to > > macroi

Re: [PATCH, i386]: Macroize DIVMOD patterns

2019-05-15 Thread Uros Bizjak
On Wed, May 15, 2019 at 2:29 PM Uros Bizjak wrote: > > I somehow missed this testsuite failure... > > Attached patch is needed. I'll commit it later today. Now regtested on x86_64-linux-gnu {,-m32} and committed with the following ChangeLog: 2019-05-15 Uroš Bizjak * config/i386/i386-expa