re PR target/57356 (gcc-4.8: SSE2 instructions generated with '-mno-sse2')

PR target/57356
	* config/i386/i386.md (*movti_internal_rex64): Emit movaps/movups
	for non-sse2 targets.  Simplify mode attribute calculation.

From-SVN: r199205
This commit is contained in:
Uros Bizjak 2013-05-22 18:07:08 +02:00 committed by Uros Bizjak
parent 73d5befa78
commit b7eade352f
2 changed files with 16 additions and 12 deletions

View File

@ -1,3 +1,9 @@
2013-05-22 Uros Bizjak <ubizjak@gmail.com>
PR target/57356
* config/i386/i386.md (*movti_internal_rex64): Emit movaps/movups
for non-sse2 targets. Simplify mode attribute calculation.
2013-05-17 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline

View File

@ -1856,18 +1856,16 @@
[(set_attr "type" "*,*,sselog1,ssemov,ssemov")
(set_attr "prefix" "*,*,maybe_vex,maybe_vex,maybe_vex")
(set (attr "mode")
(cond [(eq_attr "alternative" "2,3")
(if_then_else
(match_test "optimize_function_for_size_p (cfun)")
(const_string "V4SF")
(const_string "TI"))
(eq_attr "alternative" "4")
(if_then_else
(ior (match_test "TARGET_SSE_TYPELESS_STORES")
(match_test "optimize_function_for_size_p (cfun)"))
(const_string "V4SF")
(const_string "TI"))]
(const_string "DI")))])
(cond [(eq_attr "alternative" "0,1")
(const_string "DI")
(ior (not (match_test "TARGET_SSE2"))
(match_test "optimize_function_for_size_p (cfun)"))
(const_string "V4SF")
(and (eq_attr "alternative" "4")
(match_test "TARGET_SSE_TYPELESS_STORES"))
(const_string "V4SF")
]
(const_string "TI")))])
(define_split
[(set (match_operand:TI 0 "nonimmediate_operand" "")