Searched hist:"6001 f7729e12dd1d810291e4cbf83cee8e07441d" (Results 1 – 2 of 2) sorted by relevance
/qemu/include/tcg/ |
H A D | tcg.h | 6001f7729e12dd1d810291e4cbf83cee8e07441d Sun Apr 29 23:58:40 UTC 2018 Laurent Vivier <lvivier@redhat.com> tcg: workaround branch instruction overflow in tcg_out_qemu_ld/st
ppc64 uses a BC instruction to call the tcg_out_qemu_ld/st slow path. BC instruction uses a relative address encoded on 14 bits.
The slow path functions are added at the end of the generated instructions buffer, in the reverse order of the callers. So more we have slow path functions more the distance between the caller (BC) and the function increases.
This patch changes the behavior to generate the functions in the same order of the callers.
Cc: qemu-stable@nongnu.org Fixes: 15fa08f845 ("tcg: Dynamically allocate TCGOps") Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20180429235840.16659-1-lvivier@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
/qemu/tcg/ |
H A D | tcg.c | 6001f7729e12dd1d810291e4cbf83cee8e07441d Sun Apr 29 23:58:40 UTC 2018 Laurent Vivier <lvivier@redhat.com> tcg: workaround branch instruction overflow in tcg_out_qemu_ld/st
ppc64 uses a BC instruction to call the tcg_out_qemu_ld/st slow path. BC instruction uses a relative address encoded on 14 bits.
The slow path functions are added at the end of the generated instructions buffer, in the reverse order of the callers. So more we have slow path functions more the distance between the caller (BC) and the function increases.
This patch changes the behavior to generate the functions in the same order of the callers.
Cc: qemu-stable@nongnu.org Fixes: 15fa08f845 ("tcg: Dynamically allocate TCGOps") Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20180429235840.16659-1-lvivier@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|