This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386]: Back port Fix PR 52908 - xop-mul-1:f9 miscompiled on bulldozer (-mxop) to 4.7


On Thu, Jun 07, 2012 at 06:07:18AM -0500, venkataramanan.kumar@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.kumar@amd.com>
> +

The common way is to use:
	Backport from mainline
	2012-05-09  Uros Bizjak  <ubizjak@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]