Re: [Qemu-devel] [PATCH 22/29] target-sparc: implement auto-demapping for UA2005 CPUs

2016-10-11 Thread Richard Henderson
On 10/01/2016 05:05 AM, Artyom Tarasenko wrote: +uint64_t size = 1024ULL * (8 << 3 * TTE_PGSIZE(tlb[i].tte)); Your previous expression, 8192 << 3 * TTE_PGSIZE is clearer. Perhaps this itself should be extracted as a macro? +if ((new_vaddr == vaddr) ||

[Qemu-devel] [PATCH 22/29] target-sparc: implement auto-demapping for UA2005 CPUs

2016-10-01 Thread Artyom Tarasenko
Signed-off-by: Artyom Tarasenko --- target-sparc/ldst_helper.c | 21 + 1 file changed, 21 insertions(+) diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c index a85552e..c27e668 100644 --- a/target-sparc/ldst_helper.c +++