Commit 0ba511a1 by Uros Bizjak Committed by Uros Bizjak

i386.c (*movdf_internal_rex64): Remove TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL…

i386.c (*movdf_internal_rex64): Remove TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL handling from asm output code.

	* 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.

From-SVN: r187348
parent 20f9034b
2012-05-09 Uros Bizjak <ubizjak@gmail.com> 2012-05-09 Uros Bizjak <ubizjak@gmail.com>
* 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 <ubizjak@gmail.com>
PR target/44141 PR target/44141
* config/i386/i386.c (ix86_expand_vector_move_misalign): Do not handle * config/i386/i386.c (ix86_expand_vector_move_misalign): Do not handle
128 bit vectors specially for TARGET_AVX. Emit sse2_movupd and 128 bit vectors specially for TARGET_AVX. Emit sse2_movupd and
......
...@@ -2953,8 +2953,7 @@ ...@@ -2953,8 +2953,7 @@
switch (get_attr_mode (insn)) switch (get_attr_mode (insn))
{ {
case MODE_V2DF: 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: case MODE_V4SF:
return "%vmovaps\t{%1, %0|%0, %1}"; return "%vmovaps\t{%1, %0|%0, %1}";
...@@ -3032,7 +3031,8 @@ ...@@ -3032,7 +3031,8 @@
movaps encodes one byte shorter. */ movaps encodes one byte shorter. */
(eq_attr "alternative" "8") (eq_attr "alternative" "8")
(cond (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") (const_string "V4SF")
(match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY") (match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY")
(const_string "V2DF") (const_string "V2DF")
...@@ -3094,8 +3094,7 @@ ...@@ -3094,8 +3094,7 @@
switch (get_attr_mode (insn)) switch (get_attr_mode (insn))
{ {
case MODE_V2DF: 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: case MODE_V4SF:
return "%vmovaps\t{%1, %0|%0, %1}"; return "%vmovaps\t{%1, %0|%0, %1}";
...@@ -3167,7 +3166,8 @@ ...@@ -3167,7 +3166,8 @@
movaps encodes one byte shorter. */ movaps encodes one byte shorter. */
(eq_attr "alternative" "6,10") (eq_attr "alternative" "6,10")
(cond (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") (const_string "V4SF")
(match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY") (match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY")
(const_string "V2DF") (const_string "V2DF")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment