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) || ((new_
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
+++ b/target-sparc/ldst_helper.c
@@ -210