From patchwork Sat Dec 14 03:45:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 301197 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 91C802C0090 for ; Sat, 14 Dec 2013 14:45:36 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject; q=dns; s=default; b=mWiHuSJ2ZqII6Yu vfFXtMJ1G8WRzuphkBpW6b7Ygu3qER3g2QQ/4pZ59mLxZV+p9EdxojoFo6az2Mzj csWCOcy4tNIhcYkWHntCJ8gx8Xp/e5YOdxcb57nS03RIqTy08KEgnXI1POhv9qIp FiSU94v+MmV9d0YqwScL5qL0YlZ0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject; s=default; bh=qgHMbhCLqwse/hITmMdU6 bGpQ1E=; b=vPGNin3tUYQXWBHy+NT2iLUXnUqsgRyhbH4I9PKn3CCe6shKCx7q/ 6D3qJuqKMb1/I5wEksDCp0f5q2G2pT7akDcTD/bUlVbHu9hGBzQhp1mJzva2huMW PoiGpzVlcwltwrV0N+c0NxR5sVK6bOeHmCi5kHWole9JbIpyJ0SW40= Received: (qmail 13114 invoked by alias); 14 Dec 2013 03:45:26 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 13105 invoked by uid 89); 14 Dec 2013 03:45:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 14 Dec 2013 03:45:25 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBE3jOBe024747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Dec 2013 22:45:24 -0500 Received: from greed.delorie.com (ovpn-113-44.phx2.redhat.com [10.3.113.44]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rBE3jM4F009366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Dec 2013 22:45:23 -0500 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.14.4/8.14.4) with ESMTP id rBE3jLFx005766 for ; Fri, 13 Dec 2013 22:45:21 -0500 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id rBE3jLlF005765; Fri, 13 Dec 2013 22:45:21 -0500 Date: Fri, 13 Dec 2013 22:45:21 -0500 Message-Id: <201312140345.rBE3jLlF005765@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [rl78] fix constant in pattern X-IsSubscribed: yes This was causing the final pattern to not match. Committed. * config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed. Index: config/rl78/rl78-expand.md =================================================================== --- config/rl78/rl78-expand.md (revision 205980) +++ config/rl78/rl78-expand.md (working copy) @@ -174,13 +174,13 @@ DONE;" ) (define_expand "one_cmplqi2" [(set (match_operand:QI 0 "nonimmediate_operand") (xor:QI (match_operand:QI 1 "general_operand") - (const_int 255))) + (const_int -1))) ] "" "if (rl78_force_nonfar_2 (operands, gen_one_cmplqi2)) DONE;" )