From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54555 invoked by alias); 5 May 2015 05:06:35 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 54538 invoked by uid 89); 5 May 2015 05:06:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLY,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ob0-f175.google.com Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 05 May 2015 05:06:33 +0000 Received: by obcux3 with SMTP id ux3so122825036obc.2 for ; Mon, 04 May 2015 22:06:31 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.202.58.193 with SMTP id h184mr19646340oia.55.1430802391442; Mon, 04 May 2015 22:06:31 -0700 (PDT) Received: by 10.76.26.178 with HTTP; Mon, 4 May 2015 22:06:31 -0700 (PDT) In-Reply-To: References: <1430574816-15324-1-git-send-email-jcmvbkbc@gmail.com> Date: Tue, 05 May 2015 05:06:00 -0000 Message-ID: Subject: Re: [PATCH] xtensa: optimize trampolines relaxation From: Max Filippov To: "augustine.sterling@gmail.com" , binutils@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00022.txt.bz2 On Mon, May 4, 2015 at 10:06 PM, augustine.sterling@gmail.com wrote: > On Sat, May 2, 2015 at 6:53 AM, Max Filippov wrote: >> 2015-05-02 Max Filippov >> gas/ >> * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs. >> (struct cached_fixup, struct fixup_cache): New structures. >> (fixup_order, xtensa_make_cached_fixup), >> (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups), >> (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup), >> (xtensa_add_cached_fixup): New functions. >> (xtensa_relax_frag): Cache fixups pointing at potentially >> oversized jumps at the beginning of every relaxation pass. Only >> check subset of this cache in the reach of single jump from the >> trampoline frag currently being relaxed. > > This is OK for xtensa. Thanks! Checked in. -- Max