From: uros Date: Wed, 9 May 2012 18:48:31 +0000 (+0000) Subject: * config/i386/i386.c (*movdf_internal_rex64): Remove X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2dce6128e5097ddb35faad8370e8f8a78c305dc;p=thirdparty%2Fgcc.git * config/i386/i386.c (*movdf_internal_rex64): Remove TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL handling from asm output code. Calculate "mode" attribute according to TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL flag. (*movdf_internal): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187348 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d17b2a2e03e..d872972bddbd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2012-05-09 Uros Bizjak + + * config/i386/i386.c (*movdf_internal_rex64): Remove + TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL handling from asm output code. + Calculate "mode" attribute according to + TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL flag. + (*movdf_internal): Ditto. + 2012-05-09 Uros Bizjak PR target/44141 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 80f1ec483cf9..c8255790146e 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -2953,8 +2953,7 @@ switch (get_attr_mode (insn)) { case MODE_V2DF: - if (!TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL) - return "%vmovapd\t{%1, %0|%0, %1}"; + return "%vmovapd\t{%1, %0|%0, %1}"; case MODE_V4SF: return "%vmovaps\t{%1, %0|%0, %1}"; @@ -3032,7 +3031,8 @@ movaps encodes one byte shorter. */ (eq_attr "alternative" "8") (cond - [(match_test "optimize_function_for_size_p (cfun)") + [(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL") + (match_test "optimize_function_for_size_p (cfun)")) (const_string "V4SF") (match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY") (const_string "V2DF") @@ -3094,8 +3094,7 @@ switch (get_attr_mode (insn)) { case MODE_V2DF: - if (!TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL) - return "%vmovapd\t{%1, %0|%0, %1}"; + return "%vmovapd\t{%1, %0|%0, %1}"; case MODE_V4SF: return "%vmovaps\t{%1, %0|%0, %1}"; @@ -3167,7 +3166,8 @@ movaps encodes one byte shorter. */ (eq_attr "alternative" "6,10") (cond - [(match_test "optimize_function_for_size_p (cfun)") + [(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL") + (match_test "optimize_function_for_size_p (cfun)")) (const_string "V4SF") (match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY") (const_string "V2DF")