On Thu, Jun 07, 2012 at 06:07:18AM -0500, venkataramanan.ku...@amd.com wrote: > Please find the patch below that backports PR target/52908 to GCC 4.7. > > The patch passed bootstrap and regression test. > > Ok to commit?
Please wait with it until 4.7.1 is released. > +2012-06-07 Venkataramanan Kumar <venkataramanan.ku...@amd.com> > + The common way is to use: Backport from mainline 2012-05-09 Uros Bizjak <ubiz...@gmail.com> instead of the following line: > + Backport from 2012-05-09 mainline r187354 > + > + PR target/52908 > + * config/i386/sse.md (vec_widen_smult_hi_v4si): Expand using > + xop_pmacsdqh insn pattern instead of xop_mulv2div2di3_high. > + (vec_widen_smult_lo_v4si): Expand using xop_pmacsdql insn pattern > + instead of xop_mulv2div2di3_low. > + (xop_p<macs>dql): Fix vec_select selector. > + (xop_p<macs>dqh): Ditto. > + (xop_mulv2div2di3_low): Remove insn_and_split pattern. > + (xop_mulv2div2di3_high): Ditto. Jakub