From: H.J. Lu Date: Fri, 29 Jan 2016 13:03:51 +0000 (+0000) Subject: Use vm in sse2_cvtps2pd X-Git-Tag: basepoints/gcc-7~1219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96db298a7164234d46ed60d82d9df8e31e8257b2;p=thirdparty%2Fgcc.git Use vm in sse2_cvtps2pd sse2_cvtps2pd has (define_insn "sse2_cvtps2pd" [(set (match_operand:V2DF 0 "register_operand" "=v") (float_extend:V2DF (vec_select:V2SF (match_operand:V4SF 1 "vector_operand" "vBm") (parallel [(const_int 0) (const_int 1)]))))] The memory operand size is 8 bytes (2 floats). We should use vm instead of vBm. * config/i386/sse.md (sse2_cvtps2pd): Replace vBm with vm. From-SVN: r232979 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea443d3990eb..8e06ddb9e172 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-01-29 H.J. Lu + + * config/i386/sse.md (sse2_cvtps2pd): Replace vBm + with vm. + 2016-01-29 Jonathan Wakely * ginclude/stdarg.h: Test __cplusplus instead of diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 3f53a0aa7221..6744cceee7c6 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -5464,7 +5464,7 @@ [(set (match_operand:V2DF 0 "register_operand" "=v") (float_extend:V2DF (vec_select:V2SF - (match_operand:V4SF 1 "vector_operand" "vBm") + (match_operand:V4SF 1 "vector_operand" "vm") (parallel [(const_int 0) (const_int 1)]))))] "TARGET_SSE2 && " "%vcvtps2pd\t{%1, %0|%0, %q1}"