]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Move jmp-cache `CF_PCREL` checks to caller
authorAnton Johansson <anjo@rev.ng>
Mon, 27 Feb 2023 13:51:46 +0000 (14:51 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:03 +0000 (07:33 -1000)
commit2dd5b7a1b91562e52053e37cc95614c3af7d63c4
treea10256f3b2f42e0cc5bb79e7f883d21ed2e0580f
parentf6680c5ea4d861a182be2248d5324bf1d5b3d97b
accel/tcg: Move jmp-cache `CF_PCREL` checks to caller

tb-jmp-cache.h contains a few small functions that only exist to hide a
CF_PCREL check, however the caller often already performs such a check.

This patch moves CF_PCREL checks from the callee to the caller, and also
removes these functions which now only hide an access of the jmp-cache.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-12-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/tb-jmp-cache.h