From: Jeff Law Date: Fri, 4 Oct 2019 14:45:46 +0000 (-0600) Subject: h8300.md (cpymemsi): Disable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dde4026df03a2b5fdd8bd68bdf51edc23a61ffc8;p=gcc.git h8300.md (cpymemsi): Disable. * config/h8300/h8300.md (cpymemsi): Disable. (movmd, movmd_internal_, movstr, movsd): (movstr, movsd, stpcpy_internal_: Likewise. (movmd splitter, movsd splitter): Likewise. From-SVN: r276582 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02cf6974f1a..9bc2aab1288 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2019-10-04 Jeff Law + * config/h8300/h8300.md (cpymemsi): Disable. + (movmd, movmd_internal_, movstr, movsd): + (movstr, movsd, stpcpy_internal_: 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 778d3e1d132..f3edbb136b6 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)] {