From: H.J. Lu Date: Thu, 12 Mar 2009 17:50:02 +0000 (+0000) Subject: backport: re PR target/39327 (Incorrect addsub/unpck patterns in sse.md) X-Git-Tag: releases/gcc-4.3.4~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b014f4d6a3f5aa9732968f1e107b9614ae1f8e61;p=thirdparty%2Fgcc.git backport: re PR target/39327 (Incorrect addsub/unpck patterns in sse.md) 2009-03-12 H.J. Lu Backport from mainline: 2009-03-12 H.J. Lu PR target/39327 * config/i386/sse.md (sse3_addsubv4sf3): Correct item bits. (sse3_addsubv2df3): Likewise. From-SVN: r144820 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c3bf881089b..7ebb4f2155f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2009-03-12 H.J. Lu + + Backport from mainline: + 2009-03-12 H.J. Lu + + PR target/39327 + * config/i386/sse.md (sse3_addsubv4sf3): Correct item bits. + (sse3_addsubv2df3): Likewise. + 2009-03-09 Denis Chertykov * config/avr/avr.md ("andsi3"): Fix wrong cc attribute. diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 35145bc68971..51aeaf2619a8 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -737,7 +737,7 @@ (match_operand:V4SF 1 "register_operand" "0") (match_operand:V4SF 2 "nonimmediate_operand" "xm")) (minus:V4SF (match_dup 1) (match_dup 2)) - (const_int 5)))] + (const_int 10)))] "TARGET_SSE3" "addsubps\t{%2, %0|%0, %2}" [(set_attr "type" "sseadd") @@ -2381,7 +2381,7 @@ (match_operand:V2DF 1 "register_operand" "0") (match_operand:V2DF 2 "nonimmediate_operand" "xm")) (minus:V2DF (match_dup 1) (match_dup 2)) - (const_int 1)))] + (const_int 2)))] "TARGET_SSE3" "addsubpd\t{%2, %0|%0, %2}" [(set_attr "type" "sseadd")