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

Uros Bizjak ubizjak@gmail.com
Thu Jun 14 09:20:00 GMT 2012


On Thu, Jun 7, 2012 at 1:33 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> 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.

OK with above change.

Thanks,
Uros.



More information about the Gcc-patches mailing list