aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2019-10-04 08:45:46 -0600
committerJeff Law <law@gcc.gnu.org>2019-10-04 08:45:46 -0600
commitdde4026df03a2b5fdd8bd68bdf51edc23a61ffc8 (patch)
tree60bfda75f7dd926271e7148a42b70bb9632bf05d /gcc
parent82de69ffc84e4598f0380e52b9239af7421ba6c9 (diff)
downloadgcc-dde4026df03a2b5fdd8bd68bdf51edc23a61ffc8.zip
gcc-dde4026df03a2b5fdd8bd68bdf51edc23a61ffc8.tar.gz
gcc-dde4026df03a2b5fdd8bd68bdf51edc23a61ffc8.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md14
2 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 02cf697..9bc2aab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
shorts are the same size.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 778d3e1..f3edbb1 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -483,7 +483,7 @@
(use (match_operand:BLK 1 "memory_operand" ""))
(use (match_operand:SI 2 "" ""))
(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])))
DONE;
@@ -505,7 +505,7 @@
(clobber (match_dup 5))
(set (match_dup 2)
(const_int 0))])]
- "TARGET_H8300SX"
+ "TARGET_H8300SX && 0"
{
operands[4] = copy_rtx (XEXP (operands[0], 0));
operands[5] = copy_rtx (XEXP (operands[1], 0));
@@ -523,7 +523,7 @@
(clobber (match_operand:P 1 "register_operand" "=f,f"))
(set (match_operand:HI 2 "register_operand" "=c,c")
(const_int 0))]
- "TARGET_H8300SX"
+ "TARGET_H8300SX && 0"
"@
movmd%m6
#"
@@ -553,6 +553,7 @@
(set (match_dup 2)
(const_int 0))]
"TARGET_H8300SX && reload_completed
+ && 0
&& REGNO (operands[4]) != DESTINATION_REG"
[(const_int 0)]
{
@@ -573,7 +574,7 @@
[(use (match_operand 0 "register_operand" ""))
(use (match_operand:BLK 1 "memory_operand" ""))
(use (match_operand:BLK 2 "memory_operand" ""))]
- "TARGET_H8300SX"
+ "TARGET_H8300SX && 0"
{
operands[1] = replace_equiv_address
(operands[1], copy_to_mode_reg (Pmode, XEXP (operands[1], 0)));
@@ -596,7 +597,7 @@
(clobber (match_dup 3))
(clobber (match_dup 4))
(clobber (match_operand 2 "register_operand" ""))])]
- "TARGET_H8300SX"
+ "TARGET_H8300SX && 0"
{
operands[3] = copy_rtx (XEXP (operands[0], 0));
operands[4] = copy_rtx (XEXP (operands[1], 0));
@@ -611,7 +612,7 @@
(clobber (match_operand:P 0 "register_operand" "=d,??D"))
(clobber (match_operand:P 1 "register_operand" "=f,f"))
(clobber (match_operand:P 2 "register_operand" "=c,c"))]
- "TARGET_H8300SX"
+ "TARGET_H8300SX && 0"
"@
\n1:\tmovsd\t2f\;bra\t1b\n2:
#"
@@ -628,6 +629,7 @@
(clobber (match_operand:P 3 "register_operand" ""))
(clobber (match_operand:P 4 "register_operand" ""))]
"TARGET_H8300SX && reload_completed
+ && 0
&& REGNO (operands[2]) != DESTINATION_REG"
[(const_int 0)]
{