From patchwork Wed Jun 11 10:19:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Baylis X-Patchwork-Id: 31753 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3E7642054B for ; Wed, 11 Jun 2014 10:20:52 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id m20sf11678096qcx.1 for ; Wed, 11 Jun 2014 03:20:52 -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=XK0mnQK+u5QaUiKcUIJSho+X4aunf+tOLefAi3f1M2U=; b=g2KcbQLrRy9DYLLFbYGNSSI8do8/ztfhHGlyLxcgIOQIbQOWzBVrtGBqQ+5M62aQOB 2YMSfzwC5T7CBEnzjdHcICx5ijv3OFm2PlBzy82mjLhjlbJoWEjxve+0bPOxdGdnvqwa ga4z9b4jFrT2iF7zT9atzCr51A0lRubkHpTVQwP1Wot3u2HapFpopgw52NiY/fAfnOy7 n0PImTKiGynv9mzy3RKdseiTgKgcDqD50fITrAm0G8LWr+dK/DJmOJOjze8ojsjfhMP0 QO9Zq78cVw+BaaAovxKGBAVQ3aKXDcLmBS72CA2k3lS5JDl3JnwLM+NWqHhGslPdJ4QX 7AVQ== X-Gm-Message-State: ALoCoQmubPpewvyE1ml2MJRtoMhj7mvh71MKbctgtYWHp9aY2MDCxcwc5Be/LR3EM9Mxmp7kIG/c X-Received: by 10.236.9.41 with SMTP id 29mr5694723yhs.23.1402482052098; Wed, 11 Jun 2014 03:20:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.133 with SMTP id t5ls2404667qgt.43.gmail; Wed, 11 Jun 2014 03:20:52 -0700 (PDT) X-Received: by 10.52.190.138 with SMTP id gq10mr1755543vdc.47.1402482051986; Wed, 11 Jun 2014 03:20:51 -0700 (PDT) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [2607:f8b0:400c:c01::22e]) by mx.google.com with ESMTPS id jl6si14053327vdb.50.2014.06.11.03.20.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 03:20:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22e as permitted sender) client-ip=2607:f8b0:400c:c01::22e; Received: by mail-ve0-f174.google.com with SMTP id us18so8266387veb.5 for ; Wed, 11 Jun 2014 03:20:51 -0700 (PDT) X-Received: by 10.58.112.37 with SMTP id in5mr202507veb.51.1402482051847; Wed, 11 Jun 2014 03:20:51 -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 vs6csp290919vcb; Wed, 11 Jun 2014 03:20:51 -0700 (PDT) X-Received: by 10.68.240.34 with SMTP id vx2mr3965984pbc.1.1402482051091; Wed, 11 Jun 2014 03:20:51 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id bs8si6080672pad.157.2014.06.11.03.20.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 03:20:51 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-369984-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 28564 invoked by alias); 11 Jun 2014 10:20:33 -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 28475 invoked by uid 89); 11 Jun 2014 10:20:32 -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-f172.google.com Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com) (209.85.212.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 11 Jun 2014 10:20:31 +0000 Received: by mail-wi0-f172.google.com with SMTP id hi2so5572225wib.11 for ; Wed, 11 Jun 2014 03:20:28 -0700 (PDT) X-Received: by 10.181.11.193 with SMTP id ek1mr38055687wid.15.1402482028514; Wed, 11 Jun 2014 03:20:28 -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.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jun 2014 03:20:27 -0700 (PDT) From: Charles Baylis To: rearnsha@arm.com Cc: gcc-patches@gcc.gnu.org, Ramana.Radhakrishnan@arm.com Subject: [PATCH 2/9] Add comments Date: Wed, 11 Jun 2014 11:19:48 +0100 Message-Id: <1402481995-12749-2-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::22e 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, __aeabi_ldivmod): Add comment describing register usage on function entry and exit. --- libgcc/config/arm/bpabi.S | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/libgcc/config/arm/bpabi.S b/libgcc/config/arm/bpabi.S index f47d715..ae76cd3 100644 --- a/libgcc/config/arm/bpabi.S +++ b/libgcc/config/arm/bpabi.S @@ -122,6 +122,14 @@ ARM_FUNC_START aeabi_ulcmp #ifdef L_aeabi_ldivmod +/* Perform 64 bit signed division. + Inputs: + r0:r1 numerator + r2:r3 denominator + Outputs: + r0:r1 quotient + r2:r3 remainder + */ ARM_FUNC_START aeabi_ldivmod cfi_start __aeabi_ldivmod, LSYM(Lend_aeabi_ldivmod) test_div_by_zero signed @@ -145,6 +153,14 @@ ARM_FUNC_START aeabi_ldivmod #ifdef L_aeabi_uldivmod +/* Perform 64 bit signed division. + Inputs: + r0:r1 numerator + r2:r3 denominator + Outputs: + r0:r1 quotient + r2:r3 remainder + */ ARM_FUNC_START aeabi_uldivmod cfi_start __aeabi_uldivmod, LSYM(Lend_aeabi_uldivmod) test_div_by_zero unsigned