This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Back port Fix PR 52908 - xop-mul-1:f9 miscompiled on bulldozer (-mxop) to 4.7
- From: Jakub Jelinek <jakub at redhat dot com>
- To: venkataramanan dot kumar at amd dot com
- Cc: gcc-patches at gcc dot gnu dot org, ubizjak at gmail dot com
- Date: Thu, 7 Jun 2012 13:33:52 +0200
- Subject: Re: [PATCH, i386]: Back port Fix PR 52908 - xop-mul-1:f9 miscompiled on bulldozer (-mxop) to 4.7
- References: <20120607110718.19739.91036.sendpatchset@adcelk01.amd.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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