From patchwork Mon Dec 15 22:41:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 421703 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0F6B31400D2 for ; Tue, 16 Dec 2014 09:41:38 +1100 (AEDT) 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=YVV68mqxha8PBrR S0GbU17PBVjOu4TtoEE8CJgblTNrP+TIZ2751rHXhrF+tjhx5p+Dwpe9ZnKHoAqj zojATEoxL2n/i/9FUQ27HaJHgwgus6DjdhU03V3FkpVRQ2u8NIQ02T10isvTPKVS dTT9uwwDcB05fc22BQgejB81fcP8= 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=FE6/VmbXMjcw7uK+kdhAK /ZR4z0=; b=a7takzw7+MnMXPc0U5sssukkcai+8QHCu4pFQDyA/2WoHMp8W9r8M Og1KNra8og31JmRH3qmkB9dDO5VyIyvOq0/0EJ8678GhKz0SGvGPOmMpF3Iu3xti mkgXpFrCl2dwMk6CSP+Nk8KGCHDC+ZXGKm1208bwZXEOuoZeAIcJgo= Received: (qmail 26006 invoked by alias); 15 Dec 2014 22:41:31 -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 25993 invoked by uid 89); 15 Dec 2014 22:41:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 15 Dec 2014 22:41:29 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBFMfS9d019863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 15 Dec 2014 17:41:28 -0500 Received: from greed.delorie.com (ovpn-113-108.phx2.redhat.com [10.3.113.108]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBFMfRm2008909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Dec 2014 17:41:27 -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 sBFMfQiP025172 for ; Mon, 15 Dec 2014 17:41:26 -0500 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id sBFMfQ7O025170; Mon, 15 Dec 2014 17:41:26 -0500 Date: Mon, 15 Dec 2014 17:41:26 -0500 Message-Id: <201412152241.sBFMfQ7O025170@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [rl78] Remove unneeded SHORT_IMMEDIATES_SIGN_EXTEND X-IsSubscribed: yes The code that this macro enables will never do anything anyway on RL78. Applied. 2014-12-15 DJ Delorie * config/rl78/rl78.h: Remove SHORT_IMMEDIATES_SIGN_EXTEND. Index: config/rl78/rl78.h =================================================================== --- config/rl78/rl78.h (revision 218766) +++ config/rl78/rl78.h (working copy) @@ -141,13 +141,12 @@ #define MOVE_RATIO(SPEED) ((SPEED) ? 24 : 16) #define SLOW_BYTE_ACCESS 0 #define STORE_FLAG_VALUE 1 #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND -#define SHORT_IMMEDIATES_SIGN_EXTEND 0 /* The RL78 has four register banks. Normal operation uses RB0 as real registers, RB1 and RB2 as "virtual" registers (because we know they'll be there, and not used as variables), and RB3 is reserved for interrupt handlers. The virtual registers are accessed as