[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target/xtensa: rework zero overhead loops imple
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] [PATCH] target/xtensa: rework zero overhead loops implementation |
Date: |
Fri, 11 Jan 2019 12:59:12 -0800 |
On Fri, Jan 11, 2019 at 12:53 PM Richard Henderson
<address@hidden> wrote:
>
> On 1/11/19 10:49 PM, Max Filippov wrote:
> > +#define LINKABLE_BITS 12
> > +#define LINKABLE_SIZE (1u << LINKABLE_BITS)
> > +#define LINKABLE_MASK (-LINKABLE_SIZE)
>
> What is this for? It seems to be replicating TARGET_PAGE_BITS.
I used it to play with different sizes of regions where direct TB chaining
is allowed. In linux-user it is possible to have it bigger than the page size.
It looks like the optimum is somewhere in the range 10..12.
I left it there because it looks logically independent from the page size,
but I sure can drop it.
--
Thanks.
-- Max