From patchwork Wed Jun 11 10:19:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Baylis X-Patchwork-Id: 31755 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1866A2054B for ; Wed, 11 Jun 2014 10:21:20 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id b6sf21773325yha.4 for ; Wed, 11 Jun 2014 03:21:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:sender:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results; bh=2X3rdeEKpmVYQ1D3iD6RGOiMSYsxUa1NnYpdV0rKgJQ=; b=ODXORHuIGLXFELXgR8CgwjxK293qnjaLNbHXtg+wnhC73eZcczKGqJIgwiAMDCfzJm bOTtAhhi/zh0LCGnoSNlGUsnnlS4d2PvTLuMyC7xHJyV8X2gU7LRi5m0pvsWC+g+2cts LkZzD3sg6zg3DU5hXGRcqks8FOgHJl0ApaCkaErk7e1/nf7fi2dg8QCp1CmittbNtoXj lO6+Ras3c9U29Irwpc7jXIEoEpuG8ezxAcO3ebxBe+SrhHyLHxBEnRP2/skLvmA3Mzed 5wEYD6KZ82N6Oqo9buFKZQ0HjYFB/UNEj8knMvAy+tbKXf4ZONFHrVDP4cHzOMaXwpjy qi5g== X-Gm-Message-State: ALoCoQnGXyXJfb4C6z0Kl3HfjEtQM54l+YXHnhyGAGkaxHVB88lM62WHT8TJ/0sDkt848wCx5QFU X-Received: by 10.58.34.47 with SMTP id w15mr3759929vei.20.1402482079798; Wed, 11 Jun 2014 03:21:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.148 with SMTP id p20ls2383304qgp.80.gmail; Wed, 11 Jun 2014 03:21:19 -0700 (PDT) X-Received: by 10.58.1.9 with SMTP id 9mr14478960vei.14.1402482079638; Wed, 11 Jun 2014 03:21:19 -0700 (PDT) Received: from mail-ve0-x22c.google.com (mail-ve0-x22c.google.com [2607:f8b0:400c:c01::22c]) by mx.google.com with ESMTPS id qz19si14041688vdb.91.2014.06.11.03.21.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 03:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22c as permitted sender) client-ip=2607:f8b0:400c:c01::22c; Received: by mail-ve0-f172.google.com with SMTP id jz11so6349516veb.17 for ; Wed, 11 Jun 2014 03:21:19 -0700 (PDT) X-Received: by 10.53.12.229 with SMTP id et5mr2528009vdd.32.1402482079503; Wed, 11 Jun 2014 03:21:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp290941vcb; Wed, 11 Jun 2014 03:21:16 -0700 (PDT) X-Received: by 10.68.225.105 with SMTP id rj9mr3972880pbc.108.1402482075918; Wed, 11 Jun 2014 03:21:15 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id eq15si6061154pac.222.2014.06.11.03.21.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 03:21:15 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-369986-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 28965 invoked by alias); 11 Jun 2014 10:20:36 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 28761 invoked by uid 89); 11 Jun 2014 10:20:34 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f175.google.com Received: from mail-we0-f175.google.com (HELO mail-we0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 11 Jun 2014 10:20:33 +0000 Received: by mail-we0-f175.google.com with SMTP id p10so8690226wes.20 for ; Wed, 11 Jun 2014 03:20:30 -0700 (PDT) X-Received: by 10.180.108.51 with SMTP id hh19mr37400994wib.25.1402482030239; Wed, 11 Jun 2014 03:20:30 -0700 (PDT) Received: from sale.linaro.local ([213.122.173.130]) by mx.google.com with ESMTPSA id ej2sm33548768wjd.21.2014.06.11.03.20.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jun 2014 03:20:29 -0700 (PDT) From: Charles Baylis To: rearnsha@arm.com Cc: gcc-patches@gcc.gnu.org, Ramana.Radhakrishnan@arm.com Subject: [PATCH 4/9] Optimise __aeabi_uldivmod Date: Wed, 11 Jun 2014 11:19:50 +0100 Message-Id: <1402481995-12749-4-git-send-email-charles.baylis@linaro.org> In-Reply-To: <1402481995-12749-1-git-send-email-charles.baylis@linaro.org> References: <5398226C.5060905@arm.com> <1402481995-12749-1-git-send-email-charles.baylis@linaro.org> X-IsSubscribed: yes X-Original-Sender: charles.baylis@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22c as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 2014-05-22 Charles Baylis * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call to __udivmoddi4. --- libgcc/config/arm/bpabi.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/arm/bpabi.S b/libgcc/config/arm/bpabi.S index 67246b0..927e37f 100644 --- a/libgcc/config/arm/bpabi.S +++ b/libgcc/config/arm/bpabi.S @@ -207,7 +207,7 @@ ARM_FUNC_START aeabi_uldivmod push_for_divide __aeabi_uldivmod /* arguments in (r0:r1), (r2:r3) and *sp */ - bl SYM(__gnu_uldivmod_helper) __PLT__ + bl SYM(__udivmoddi4) __PLT__ pop_for_divide RET cfi_end LSYM(Lend_aeabi_uldivmod)