This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] xtensa: optimize trampolines relaxation
- From: Max Filippov <jcmvbkbc at gmail dot com>
- To: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>, binutils at sourceware dot org
- Date: Tue, 5 May 2015 08:06:31 +0300
- Subject: Re: [PATCH] xtensa: optimize trampolines relaxation
- Authentication-results: sourceware.org; auth=none
- References: <1430574816-15324-1-git-send-email-jcmvbkbc at gmail dot com> <CAGSvup_hF=5tEvsfDWjEdDT-CgcZ8LG0sVW7eT=M0Xo5jfQF5A at mail dot gmail dot com>
On Mon, May 4, 2015 at 10:06 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> On Sat, May 2, 2015 at 6:53 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
>> 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