Commit bdfd2026 by Jan Hubicka Committed by Jan Hubicka

re PR target/37048 (Revision 138835 breaks bootstrap)

	PR target/37048
	* i386.md (single stringop patterns): Enable unconditionally.

From-SVN: r138841
parent 7a4ef310
2008-08-07 Jan Hubicka <jh@suse.cz>
PR target/37048
* i386.md (single stringop patterns): Enable unconditionally.
2008-08-07 H.J. Lu <hongjiu.lu@intel.com> 2008-08-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/36992 PR target/36992
......
...@@ -18652,7 +18652,7 @@ ...@@ -18652,7 +18652,7 @@
(set (match_operand:DI 1 "register_operand" "=S") (set (match_operand:DI 1 "register_operand" "=S")
(plus:DI (match_dup 3) (plus:DI (match_dup 3)
(const_int 8)))] (const_int 8)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"movsq" "movsq"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "mode" "DI") (set_attr "mode" "DI")
...@@ -18667,7 +18667,7 @@ ...@@ -18667,7 +18667,7 @@
(set (match_operand:SI 1 "register_operand" "=S") (set (match_operand:SI 1 "register_operand" "=S")
(plus:SI (match_dup 3) (plus:SI (match_dup 3)
(const_int 4)))] (const_int 4)))]
"!TARGET_64BIT && TARGET_SINGLE_STRINGOP" "!TARGET_64BIT"
"movs{l|d}" "movs{l|d}"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "mode" "SI") (set_attr "mode" "SI")
...@@ -18682,7 +18682,7 @@ ...@@ -18682,7 +18682,7 @@
(set (match_operand:DI 1 "register_operand" "=S") (set (match_operand:DI 1 "register_operand" "=S")
(plus:DI (match_dup 3) (plus:DI (match_dup 3)
(const_int 4)))] (const_int 4)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"movs{l|d}" "movs{l|d}"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "mode" "SI") (set_attr "mode" "SI")
...@@ -18697,7 +18697,7 @@ ...@@ -18697,7 +18697,7 @@
(set (match_operand:SI 1 "register_operand" "=S") (set (match_operand:SI 1 "register_operand" "=S")
(plus:SI (match_dup 3) (plus:SI (match_dup 3)
(const_int 2)))] (const_int 2)))]
"!TARGET_64BIT && TARGET_SINGLE_STRINGOP" "!TARGET_64BIT"
"movsw" "movsw"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "both") (set_attr "memory" "both")
...@@ -18712,7 +18712,7 @@ ...@@ -18712,7 +18712,7 @@
(set (match_operand:DI 1 "register_operand" "=S") (set (match_operand:DI 1 "register_operand" "=S")
(plus:DI (match_dup 3) (plus:DI (match_dup 3)
(const_int 2)))] (const_int 2)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"movsw" "movsw"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "both") (set_attr "memory" "both")
...@@ -18727,7 +18727,7 @@ ...@@ -18727,7 +18727,7 @@
(set (match_operand:SI 1 "register_operand" "=S") (set (match_operand:SI 1 "register_operand" "=S")
(plus:SI (match_dup 3) (plus:SI (match_dup 3)
(const_int 1)))] (const_int 1)))]
"!TARGET_64BIT && TARGET_SINGLE_STRINGOP" "!TARGET_64BIT"
"movsb" "movsb"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "both") (set_attr "memory" "both")
...@@ -18742,7 +18742,7 @@ ...@@ -18742,7 +18742,7 @@
(set (match_operand:DI 1 "register_operand" "=S") (set (match_operand:DI 1 "register_operand" "=S")
(plus:DI (match_dup 3) (plus:DI (match_dup 3)
(const_int 1)))] (const_int 1)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"movsb" "movsb"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "both") (set_attr "memory" "both")
...@@ -18917,7 +18917,7 @@ ...@@ -18917,7 +18917,7 @@
(match_operand 2 "register_operand" "")) (match_operand 2 "register_operand" ""))
(set (match_operand 0 "register_operand" "") (set (match_operand 0 "register_operand" "")
(match_operand 3 "" ""))])] (match_operand 3 "" ""))])]
"TARGET_SINGLE_STRINGOP" ""
"ix86_current_function_needs_cld = 1;") "ix86_current_function_needs_cld = 1;")
(define_insn "*strsetdi_rex_1" (define_insn "*strsetdi_rex_1"
...@@ -18926,7 +18926,7 @@ ...@@ -18926,7 +18926,7 @@
(set (match_operand:DI 0 "register_operand" "=D") (set (match_operand:DI 0 "register_operand" "=D")
(plus:DI (match_dup 1) (plus:DI (match_dup 1)
(const_int 8)))] (const_int 8)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"stosq" "stosq"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
...@@ -18938,7 +18938,7 @@ ...@@ -18938,7 +18938,7 @@
(set (match_operand:SI 0 "register_operand" "=D") (set (match_operand:SI 0 "register_operand" "=D")
(plus:SI (match_dup 1) (plus:SI (match_dup 1)
(const_int 4)))] (const_int 4)))]
"!TARGET_64BIT && TARGET_SINGLE_STRINGOP" "!TARGET_64BIT"
"stos{l|d}" "stos{l|d}"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
...@@ -18950,7 +18950,7 @@ ...@@ -18950,7 +18950,7 @@
(set (match_operand:DI 0 "register_operand" "=D") (set (match_operand:DI 0 "register_operand" "=D")
(plus:DI (match_dup 1) (plus:DI (match_dup 1)
(const_int 4)))] (const_int 4)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"stos{l|d}" "stos{l|d}"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
...@@ -18962,7 +18962,7 @@ ...@@ -18962,7 +18962,7 @@
(set (match_operand:SI 0 "register_operand" "=D") (set (match_operand:SI 0 "register_operand" "=D")
(plus:SI (match_dup 1) (plus:SI (match_dup 1)
(const_int 2)))] (const_int 2)))]
"!TARGET_64BIT && TARGET_SINGLE_STRINGOP" "!TARGET_64BIT"
"stosw" "stosw"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
...@@ -18974,7 +18974,7 @@ ...@@ -18974,7 +18974,7 @@
(set (match_operand:DI 0 "register_operand" "=D") (set (match_operand:DI 0 "register_operand" "=D")
(plus:DI (match_dup 1) (plus:DI (match_dup 1)
(const_int 2)))] (const_int 2)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"stosw" "stosw"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
...@@ -18986,7 +18986,7 @@ ...@@ -18986,7 +18986,7 @@
(set (match_operand:SI 0 "register_operand" "=D") (set (match_operand:SI 0 "register_operand" "=D")
(plus:SI (match_dup 1) (plus:SI (match_dup 1)
(const_int 1)))] (const_int 1)))]
"!TARGET_64BIT && TARGET_SINGLE_STRINGOP" "!TARGET_64BIT"
"stosb" "stosb"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
...@@ -18998,7 +18998,7 @@ ...@@ -18998,7 +18998,7 @@
(set (match_operand:DI 0 "register_operand" "=D") (set (match_operand:DI 0 "register_operand" "=D")
(plus:DI (match_dup 1) (plus:DI (match_dup 1)
(const_int 1)))] (const_int 1)))]
"TARGET_64BIT && TARGET_SINGLE_STRINGOP" "TARGET_64BIT"
"stosb" "stosb"
[(set_attr "type" "str") [(set_attr "type" "str")
(set_attr "memory" "store") (set_attr "memory" "store")
......
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