Re: [PATCH v2 10/23] target/riscv: Use MMU_INDEX() helper

2023-08-06 Thread Helge Deller
On 8/6/23 16:30, Richard Henderson wrote: On 8/6/23 05:17, Helge Deller wrote: Use the new MMU_INDEX() helper to specify the index of the CPUTLB which should be used.  Additionally, in a follow-up patch this helper allows then to optimize the tcg code generation. Signed-off-by: Helge Deller --

Re: [PATCH v2 10/23] target/riscv: Use MMU_INDEX() helper

2023-08-06 Thread Richard Henderson
On 8/6/23 05:17, Helge Deller wrote: Use the new MMU_INDEX() helper to specify the index of the CPUTLB which should be used. Additionally, in a follow-up patch this helper allows then to optimize the tcg code generation. Signed-off-by: Helge Deller --- target/riscv/cpu.h| 4 ++-- ta

[PATCH v2 10/23] target/riscv: Use MMU_INDEX() helper

2023-08-06 Thread Helge Deller
Use the new MMU_INDEX() helper to specify the index of the CPUTLB which should be used. Additionally, in a follow-up patch this helper allows then to optimize the tcg code generation. Signed-off-by: Helge Deller --- target/riscv/cpu.h| 4 ++-- target/riscv/cpu_helper.c | 2 +- 2 files c