From patchwork Sat Nov 23 01:54:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kugan Vivekanandarajah X-Patchwork-Id: 293620 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 772262C00B8 for ; Sat, 23 Nov 2013 12:55:16 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; q=dns; s=default; b=X80FV0iapE2snKZhq 2Twp+7Iqah01OHOCvAJ5Jwh9xP7ZiOe7rvxmGs545c4DdAUliVQGROZRh50R97nK 6vvWi/m/f/OxJ8wcn4GhYbD0Bok5W3dB0KidpRhmgCNNVvtezIUx5nJqy7AofpY1 fom4rnYXoVs1/owNm24vdE0PZ0= 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 :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; s=default; bh=bt7DzFSTYHvi4O9/zTNSXXf zZ1M=; b=niI2L6biCVj44SqhnUdEJf7szGnSZdhFu7giefqeUMim2wt237xpt0E ZlBZC+/gLiPsVmdTdf89+F+Gvht/jM8o5pGctq/wmMjgy7bW7UQjDU3rL1e8d7/+ tTrGqNTy/V5CjoCldNMGjMh2KNlPa4RJqnUpCOQ7dd3dduB+8Tuk= Received: (qmail 1254 invoked by alias); 23 Nov 2013 01:55:07 -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 1065 invoked by uid 89); 23 Nov 2013 01:55:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL, BAYES_40, RDNS_NONE, SPF_PASS, URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-pb0-f50.google.com Received: from Unknown (HELO mail-pb0-f50.google.com) (209.85.160.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 23 Nov 2013 01:55:05 +0000 Received: by mail-pb0-f50.google.com with SMTP id rr13so2083281pbb.23 for ; Fri, 22 Nov 2013 17:54:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=MwtTewhhy3dOfq6wEDUHFKqgzHl2+2i/ygn1yLgrIY0=; b=YuFXP6zxPq7oxy1IzL+Z823cuzayDBRVaS4nVWpKCtDegdfNfVAIEDGc963pYK32gL wxsV93olZ1lJJJi9zSG6xHq5cXwR9YjIfoGj1p7hqvpN5s07buggo0lt/5jq7ieBP8CC iESXXyrUODFpKxlp+zMlnZdug/4nLZEDkPQFYsbXeMnalGIquTbA7NsUFlbw5NXZVGrn MV4RAHPs2UOvR0PEHJ1wriDEQrxBRdAtyVNntQ1CFm/eXsv5jN7GOvLvrR7b54XkEn2d d6GRFuEC+wjSVrmuvVM2O4+U+KR5NcIjkSgufwgLJAu8VN6/8aGj3SdPr3pjnrN8yBu5 mDLQ== X-Gm-Message-State: ALoCoQlcjGNyqy+W94mdyXWS9jQyLNtuV3lkvRnr1WHTqIgfTdLeu1Cyj1JPO6K7eaDWpmkX9NEu X-Received: by 10.66.234.193 with SMTP id ug1mr15280285pac.92.1385171697626; Fri, 22 Nov 2013 17:54:57 -0800 (PST) Received: from [192.168.0.100] ([1.145.232.183]) by mx.google.com with ESMTPSA id vh3sm23131590pbc.8.2013.11.22.17.54.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Nov 2013 17:54:56 -0800 (PST) Message-ID: <52900AEC.2060301@linaro.org> Date: Sat, 23 Nov 2013 12:54:52 +1100 From: Kugan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: ian@airs.com, Richard Earnshaw , "patches@linaro.org" Subject: Re: [RFC][LIBGCC][2 of 2] 64 bit divide implementation for processor without hw divide instruction References: <52900902.9020602@linaro.org> In-Reply-To: <52900902.9020602@linaro.org> X-IsSubscribed: yes Hi All, This RFC patch enables new divide algorithm for ARMV7-A Regression tested on arm-none-linux-gnueabi with no issues. OK? Thanks, Kugan +2013-11-22 Kugan Vivekanandarajah + + * libgcc/config/arm/pbapi-lib.h (HAVE_NO_HW_DIVIDE): Define for + __ARM_ARCH_7_A__. + diff --git a/libgcc/config/arm/bpabi-lib.h b/libgcc/config/arm/bpabi-lib.h index e0e46a6..85171c8 100644 --- a/libgcc/config/arm/bpabi-lib.h +++ b/libgcc/config/arm/bpabi-lib.h @@ -75,3 +75,7 @@ helper functions - not everything in libgcc - in the interests of maintaining backward compatibility. */ #define LIBGCC2_FIXEDBIT_GNU_PREFIX + +#if defined(__ARM_ARCH_7A__) +# define HAVE_NO_HW_DIVIDE +#endif