From patchwork Fri Aug 15 00:23:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 380054 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 E9F791400DE for ; Fri, 15 Aug 2014 10:23:54 +1000 (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=ry7nA9FnN998pph r8DRFrO5qz2vAiNopYN0wzVyGoTdmO4nYHTA+LiTVxTF8AxPhlfDOn5DrIzPIEdM Qy3mJQLmYG8RUu48ls+5FhjUtM/FXn75vHTywpQ/rHTVT48tRZJ/WtslWkn37Skr TC7qgcSAFJ8B10x928CCZoDdP8VE= 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=NnZThqu6Uj22AGRI0p+/w mrRjnE=; b=cH3ndoOegy/EUmZRsVJdt4y3O9hM4Mm+eUQsIAG3KEf7EjQaBMdZc USvy7CJYg1J/v+MrvBxv5ipl00UBJZz9tvG2ZGTHoZ57fMW31UpsdVM3UZshqfAe 6iwwAs6YU6xFHEMjOGBN2cSj5hwvYT4SztIDmDga7D/0fo1wH7shdU= Received: (qmail 15274 invoked by alias); 15 Aug 2014 00:23:47 -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 15261 invoked by uid 89); 15 Aug 2014 00:23:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 15 Aug 2014 00:23:46 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7F0NiHP024880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 14 Aug 2014 20:23:44 -0400 Received: from greed.delorie.com (ovpn-113-70.phx2.redhat.com [10.3.113.70]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7F0NgGb024088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 14 Aug 2014 20:23:44 -0400 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 s7F0NfbX027376 for ; Thu, 14 Aug 2014 20:23:41 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id s7F0Nfkg027375; Thu, 14 Aug 2014 20:23:41 -0400 Date: Thu, 14 Aug 2014 20:23:41 -0400 Message-Id: <201408150023.s7F0Nfkg027375@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [rl78] allow const->far moves X-IsSubscribed: yes Minor tweak, committed. * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves. Index: config/rl78/rl78-virt.md =================================================================== --- config/rl78/rl78-virt.md (revision 213994) +++ config/rl78/rl78-virt.md (working copy) @@ -43,7 +43,7 @@ (define_insn "*movhi_virt" [(set (match_operand:HI 0 "nonimmediate_operand" "=vS, Y, v, Wfr") - (match_operand:HI 1 "general_operand" "viYS, viS, Wfr, v"))] + (match_operand:HI 1 "general_operand" "viYS, viS, Wfr, vi"))] "rl78_virt_insns_ok ()" "v.movw %0, %1" [(set_attr "valloc" "op1")]