From c034672ab8165e27126122152c638217bfd57974 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Tue, 15 Oct 2002 15:54:06 +0000 Subject: [PATCH] * sh.md (movv8qi_i+2): Don't split if source is -1. From-SVN: r58165 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/sh.md | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a65f6cf27e1..00f190e9cf9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 15 16:51:04 2002 J"orn Rennecke + + * sh.md (movv8qi_i+2): Don't split if source is -1. + 2002-10-15 Janis Johnson * doc/install.texi: Formatting changes for conformance to HTML 4.01. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index a27170922a1..00a91df42c8 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -9149,7 +9149,9 @@ && VECTOR_MODE_SUPPORTED_P (GET_MODE (operands[0])) && GET_MODE_SIZE (GET_MODE (operands[0])) == 8 && (XVECEXP (operands[1], 0, 0) != const0_rtx - || XVECEXP (operands[1], 0, 1) != const0_rtx)" + || XVECEXP (operands[1], 0, 1) != const0_rtx) + && (XVECEXP (operands[1], 0, 0) != constm1_rtx + || XVECEXP (operands[1], 0, 1) != constm1_rtx)" [(set (match_dup 0) (match_dup 1)) (match_dup 2)] " -- 2.30.2