Re: [PATCH v6 17/21] accel/tcg: Add fast path for translator_ld*

2022-08-22 Thread Ilya Leoshkevich
On Thu, 2022-08-18 at 20:26 -0700, Richard Henderson wrote: > Cache the translation from guest to host address, so we may > use direct loads when we hit on the primary translation page. > > Look up the second translation page only once, during translation. > This obviates another lookup of the sec

[PATCH v6 17/21] accel/tcg: Add fast path for translator_ld*

2022-08-18 Thread Richard Henderson
Cache the translation from guest to host address, so we may use direct loads when we hit on the primary translation page. Look up the second translation page only once, during translation. This obviates another lookup of the second page within tb_gen_code after translation. Fixes a bug in that pl