From patchwork Wed Jun 11 10:19:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Baylis X-Patchwork-Id: 31760 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 28A1D2054B for ; Wed, 11 Jun 2014 10:22:24 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w8sf7267226qac.8 for ; Wed, 11 Jun 2014 03:22:24 -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=KAtL66XQpTgOTUCJRzyF+xmOtseJQxydLUxulwMXxE0=; b=EcA8Y6hkS/E+nfJeWwAbMOMO7FSRaD56KdLn0zSzEwXxUckhUby8NQmxh2990U55O2 /aNXXTdEGuXUj7KYxOpC5mcsHcX0E/ZG7Q+B2CHXveVRKX+0+7Ab51sLDw0nPW0joWZW 7ld01dmks2TBNp2Cbvkrea5TkLuHXMHM+Yietc9seslWQe0NiHnD19EvWXLv0gczwkf8 ImL6NA2En4RcUgJaExIFONgtnopp7wdHNyJwZaXXJNKNCBbIYxzhFZ/WsGzzeeKTYcPj uzHxi8apaPiHMa6/aypbaWs7jBhJEFMtmxd+FgQD25loAegoEqcT/Rw9XPC8wTvZc2PL 4hLA== X-Gm-Message-State: ALoCoQle7AsIR1tT3y1/g7Ywv9pLc2jY0TWiwpTm2V4CNQMwuMHbsH9F7dWFNu2g1S8WBVg10J2j X-Received: by 10.236.231.238 with SMTP id l104mr11442683yhq.51.1402482144013; Wed, 11 Jun 2014 03:22:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.111 with SMTP id b102ls2568474qga.31.gmail; Wed, 11 Jun 2014 03:22:23 -0700 (PDT) X-Received: by 10.58.127.101 with SMTP id nf5mr229987veb.50.1402482143942; Wed, 11 Jun 2014 03:22:23 -0700 (PDT) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [2607:f8b0:400c:c01::230]) by mx.google.com with ESMTPS id u17si14081487vew.74.2014.06.11.03.22.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 03:22:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::230 as permitted sender) client-ip=2607:f8b0:400c:c01::230; Received: by mail-ve0-f176.google.com with SMTP id db12so7434302veb.7 for ; Wed, 11 Jun 2014 03:22:23 -0700 (PDT) X-Received: by 10.221.47.9 with SMTP id uq9mr821363vcb.48.1402482143877; Wed, 11 Jun 2014 03:22:23 -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 vs6csp290992vcb; Wed, 11 Jun 2014 03:22:23 -0700 (PDT) X-Received: by 10.68.130.6 with SMTP id oa6mr3856342pbb.102.1402482143051; Wed, 11 Jun 2014 03:22:23 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ka9si6087070pad.137.2014.06.11.03.22.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 03:22:23 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-369990-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 29384 invoked by alias); 11 Jun 2014 10:20:39 -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 29132 invoked by uid 89); 11 Jun 2014 10:20:37 -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-wi0-f170.google.com Received: from mail-wi0-f170.google.com (HELO mail-wi0-f170.google.com) (209.85.212.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 11 Jun 2014 10:20:36 +0000 Received: by mail-wi0-f170.google.com with SMTP id cc10so3119754wib.1 for ; Wed, 11 Jun 2014 03:20:33 -0700 (PDT) X-Received: by 10.194.238.134 with SMTP id vk6mr2839407wjc.93.1402482033733; Wed, 11 Jun 2014 03:20:33 -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.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jun 2014 03:20:33 -0700 (PDT) From: Charles Baylis To: rearnsha@arm.com Cc: gcc-patches@gcc.gnu.org, Ramana.Radhakrishnan@arm.com Subject: [PATCH 8/9] Use __udivmoddi4 for v6M aeabi_uldivmod Date: Wed, 11 Jun 2014 11:19:54 +0100 Message-Id: <1402481995-12749-8-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::230 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-v6m.S (__aeabi_uldivmod): Perform division using __udivmoddi4. --- libgcc/config/arm/bpabi-v6m.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/arm/bpabi-v6m.S b/libgcc/config/arm/bpabi-v6m.S index 0bf2e55..d549fa6 100644 --- a/libgcc/config/arm/bpabi-v6m.S +++ b/libgcc/config/arm/bpabi-v6m.S @@ -148,7 +148,7 @@ FUNC_START aeabi_uldivmod mov r0, sp push {r0, lr} ldr r0, [sp, #8] - bl SYM(__gnu_uldivmod_helper) + bl SYM(__udivmoddi4) ldr r3, [sp, #4] mov lr, r3 add sp, sp, #8