[PATCH] x86: Speed up target attribute handling by using a cache

Jakub Jelinek jakub@redhat.com
Mon Nov 22 13:17:53 GMT 2021

On Mon, Nov 22, 2021 at 02:10:08PM +0100, Martin Liška wrote:
> On 11/22/21 14:05, Jakub Jelinek wrote:
> > On Mon, Nov 22, 2021 at 02:03:19PM +0100, Martin Liška wrote:
> > > I see only one patch attached, Jakub. Can you please send also the second one?
> > 
> > The first one has been inlined in the mail body (the one with attribs.[ch]
> > changes), the second one has been attached (the one without that).
> > 
> > 	Jakub
> > 
> Ah, sorry, I see. I prefer the copy_list version as it achieves more readable code.

But it will allocate fresh memory on each target attribute that isn't
Perhaps we could add free_list that would free_node all the TREE_LISTs in a


More information about the Gcc-patches mailing list