From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22227 invoked by alias); 15 Jun 2011 10:26:05 -0000 Received: (qmail 22210 invoked by uid 22791); 15 Jun 2011 10:26:04 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_CL X-Spam-Check-By: sourceware.org Received: from mail-ew0-f47.google.com (HELO mail-ew0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jun 2011 10:25:50 +0000 Received: by ewy5 with SMTP id 5so108243ewy.20 for ; Wed, 15 Jun 2011 03:25:49 -0700 (PDT) Received: by 10.14.36.152 with SMTP id w24mr151432eea.93.1308133549260; Wed, 15 Jun 2011 03:25:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.186.16 with HTTP; Wed, 15 Jun 2011 03:25:29 -0700 (PDT) In-Reply-To: <4DF87FAD.4090104@gjlay.de> References: <4DF87FAD.4090104@gjlay.de> From: Denis Chertykov Date: Wed, 15 Jun 2011 10:46:00 -0000 Message-ID: Subject: Re: [Patch, AVR]: PR49313, fix PR29524 To: Georg-Johann Lay Cc: gcc-patches@gcc.gnu.org, "Eric B. Weddington" , Anatoly Sokolov Content-Type: text/plain; charset=UTF-8 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01143.txt.bz2 2011/6/15 Georg-Johann Lay : > This is a patch that implements some libgcc functions in assembler. > The functions are used only very seldom but if, they lead to an > unpleasant waste of resource. For example, some SF functions > eventually lead to __clz_tab being dragged in (PR29524). > > This patch avoids that by straight forward assembler implementation of > functions that are easy to implement. > > Tested without regression. Moreover, I tested functions in some > self-written code against the old C-implementation. HI/QI functions > tested for all possible inputs. > Approved for AVR. May be you need another approval for longlong.h Denis.