This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 3/4] xtensa: optimize find_removed_literal
- From: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: binutils at sourceware dot org, David Weatherford <weath at cadence dot com>, Marc Gauthier <marc at cadence dot com>, "linux-xtensa at linux-xtensa dot org" <linux-xtensa at linux-xtensa dot org>
- Date: Thu, 9 Apr 2015 08:58:25 -0700
- Subject: Re: [PATCH 3/4] xtensa: optimize find_removed_literal
- Authentication-results: sourceware.org; auth=none
- References: <1428590948-10787-1-git-send-email-jcmvbkbc at gmail dot com> <1428590948-10787-4-git-send-email-jcmvbkbc at gmail dot com>
On Thu, Apr 9, 2015 at 7:49 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>
> 2015-04-03 Max Filippov <jcmvbkbc@gmail.com>
> bfd/
> * elf32-xtensa.c (removed_literal_map_entry): new typedef.
> (removed_literal_map_entry_struct): new structure.
> (removed_literal_list_struct): add new fields: n_map and map.
> (map_removed_literal, removed_literal_compare): new functions.
> (find_removed_literal): build index array for literals ordered
> by VMA, use binary search to find removed literal.
Approved. Please apply.