Re: [PATCH] Add vec_pack_ufix_trunc_{v4df,v2df} expanders (take 2)

2011-11-01 Thread Uros Bizjak
On Tue, Nov 1, 2011 at 2:35 PM, Jakub Jelinek wrote: >> > Similarly to the V{4,8}SFmode -> unsigned V{4,8}SImode conversion >> > support for AVX this one adds V{2,4}DFmode -> unsigned V{4,8}SImode >> > conversion. >> > >> > Ok for trunk? >> >> Please put expander function into i386.c. IMO, this e

Re: [PATCH] Add vec_pack_ufix_trunc_{v4df,v2df} expanders (take 2)

2011-11-01 Thread Richard Henderson
On 11/01/2011 06:35 AM, Jakub Jelinek wrote: > ... disadvantage is that the stmts in the new > pattern are now in vcmppd; vandpd; vaddpd; vcmppd; vandpd; vaddpd order > instead of vcmppd; vcmppd; vandpd; vandpd; vaddpd; vaddpd; (not sure why > the scheduler didn't change it, but on the other side i

[PATCH] Add vec_pack_ufix_trunc_{v4df,v2df} expanders (take 2)

2011-11-01 Thread Jakub Jelinek
On Tue, Nov 01, 2011 at 11:16:07AM +0100, Uros Bizjak wrote: > On Tue, Nov 1, 2011 at 10:07 AM, Jakub Jelinek wrote: > > > Similarly to the V{4,8}SFmode -> unsigned V{4,8}SImode conversion > > support for AVX this one adds V{2,4}DFmode -> unsigned V{4,8}SImode > > conversion. > > > > Ok for trunk