Commit dde4026d by Jeff Law Committed by Jeff Law

h8300.md (cpymemsi): Disable.

	* config/h8300/h8300.md (cpymemsi): Disable.
	(movmd, movmd_internal_<mode>, movstr, movsd):
	(movstr, movsd, stpcpy_internal_<mode>: Likewise.
	(movmd splitter, movsd splitter): Likewise.

From-SVN: r276582
parent 82de69ff
2019-10-04 Jeff Law <law@redhat.com> 2019-10-04 Jeff Law <law@redhat.com>
* config/h8300/h8300.md (cpymemsi): Disable.
(movmd, movmd_internal_<mode>, movstr, movsd):
(movstr, movsd, stpcpy_internal_<mode>: Likewise.
(movmd splitter, movsd splitter): Likewise.
* range-op.cc (range_tests): Avoid two tests when ints and * range-op.cc (range_tests): Avoid two tests when ints and
shorts are the same size. shorts are the same size.
......
...@@ -483,7 +483,7 @@ ...@@ -483,7 +483,7 @@
(use (match_operand:BLK 1 "memory_operand" "")) (use (match_operand:BLK 1 "memory_operand" ""))
(use (match_operand:SI 2 "" "")) (use (match_operand:SI 2 "" ""))
(use (match_operand:SI 3 "const_int_operand" ""))] (use (match_operand:SI 3 "const_int_operand" ""))]
"TARGET_H8300SX" "TARGET_H8300SX && 0"
{ {
if (h8sx_emit_movmd (operands[0], operands[1], operands[2], INTVAL (operands[3]))) if (h8sx_emit_movmd (operands[0], operands[1], operands[2], INTVAL (operands[3])))
DONE; DONE;
...@@ -505,7 +505,7 @@ ...@@ -505,7 +505,7 @@
(clobber (match_dup 5)) (clobber (match_dup 5))
(set (match_dup 2) (set (match_dup 2)
(const_int 0))])] (const_int 0))])]
"TARGET_H8300SX" "TARGET_H8300SX && 0"
{ {
operands[4] = copy_rtx (XEXP (operands[0], 0)); operands[4] = copy_rtx (XEXP (operands[0], 0));
operands[5] = copy_rtx (XEXP (operands[1], 0)); operands[5] = copy_rtx (XEXP (operands[1], 0));
...@@ -523,7 +523,7 @@ ...@@ -523,7 +523,7 @@
(clobber (match_operand:P 1 "register_operand" "=f,f")) (clobber (match_operand:P 1 "register_operand" "=f,f"))
(set (match_operand:HI 2 "register_operand" "=c,c") (set (match_operand:HI 2 "register_operand" "=c,c")
(const_int 0))] (const_int 0))]
"TARGET_H8300SX" "TARGET_H8300SX && 0"
"@ "@
movmd%m6 movmd%m6
#" #"
...@@ -553,6 +553,7 @@ ...@@ -553,6 +553,7 @@
(set (match_dup 2) (set (match_dup 2)
(const_int 0))] (const_int 0))]
"TARGET_H8300SX && reload_completed "TARGET_H8300SX && reload_completed
&& 0
&& REGNO (operands[4]) != DESTINATION_REG" && REGNO (operands[4]) != DESTINATION_REG"
[(const_int 0)] [(const_int 0)]
{ {
...@@ -573,7 +574,7 @@ ...@@ -573,7 +574,7 @@
[(use (match_operand 0 "register_operand" "")) [(use (match_operand 0 "register_operand" ""))
(use (match_operand:BLK 1 "memory_operand" "")) (use (match_operand:BLK 1 "memory_operand" ""))
(use (match_operand:BLK 2 "memory_operand" ""))] (use (match_operand:BLK 2 "memory_operand" ""))]
"TARGET_H8300SX" "TARGET_H8300SX && 0"
{ {
operands[1] = replace_equiv_address operands[1] = replace_equiv_address
(operands[1], copy_to_mode_reg (Pmode, XEXP (operands[1], 0))); (operands[1], copy_to_mode_reg (Pmode, XEXP (operands[1], 0)));
...@@ -596,7 +597,7 @@ ...@@ -596,7 +597,7 @@
(clobber (match_dup 3)) (clobber (match_dup 3))
(clobber (match_dup 4)) (clobber (match_dup 4))
(clobber (match_operand 2 "register_operand" ""))])] (clobber (match_operand 2 "register_operand" ""))])]
"TARGET_H8300SX" "TARGET_H8300SX && 0"
{ {
operands[3] = copy_rtx (XEXP (operands[0], 0)); operands[3] = copy_rtx (XEXP (operands[0], 0));
operands[4] = copy_rtx (XEXP (operands[1], 0)); operands[4] = copy_rtx (XEXP (operands[1], 0));
...@@ -611,7 +612,7 @@ ...@@ -611,7 +612,7 @@
(clobber (match_operand:P 0 "register_operand" "=d,??D")) (clobber (match_operand:P 0 "register_operand" "=d,??D"))
(clobber (match_operand:P 1 "register_operand" "=f,f")) (clobber (match_operand:P 1 "register_operand" "=f,f"))
(clobber (match_operand:P 2 "register_operand" "=c,c"))] (clobber (match_operand:P 2 "register_operand" "=c,c"))]
"TARGET_H8300SX" "TARGET_H8300SX && 0"
"@ "@
\n1:\tmovsd\t2f\;bra\t1b\n2: \n1:\tmovsd\t2f\;bra\t1b\n2:
#" #"
...@@ -628,6 +629,7 @@ ...@@ -628,6 +629,7 @@
(clobber (match_operand:P 3 "register_operand" "")) (clobber (match_operand:P 3 "register_operand" ""))
(clobber (match_operand:P 4 "register_operand" ""))] (clobber (match_operand:P 4 "register_operand" ""))]
"TARGET_H8300SX && reload_completed "TARGET_H8300SX && reload_completed
&& 0
&& REGNO (operands[2]) != DESTINATION_REG" && REGNO (operands[2]) != DESTINATION_REG"
[(const_int 0)] [(const_int 0)]
{ {
......
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