On 10/3/22 11:32, Leandro Lupori wrote:
On 9/19/22 14:56, Leandro Lupori wrote:
PowerPC64 processors handle direct branches better than indirect
ones, resulting in less stalled cycles and branch misses.
However, PPC's tb_target_set_jmp_target() was only using direct
branches for 16-bit jumps, while PowerPC64's unconditional branch
instructions are able to handle displacements of up to 26 bits.
To take advantage of this, now jumps whose displacements fit in
between 17 and 26 bits are also converted to direct branches.
Signed-off-by: Leandro Lupori <leandro.lup...@eldorado.org.br>
---
v3:
- make goto tb code 16-byte aligned
- code cleanup
Ping?
Does v3 look good now?
It does, thanks. I will queue it for tcg-next.
r~