mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
accel/tcg: Precompute curr_cflags into cpu->tcg_cflags
The primary motivation is to remove a dozen insns along the fast-path in tb_lookup. As a byproduct, this allows us to completely remove parallel_cpus. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
872ebd884d
commit
6cc9d67c6f
11 changed files with 30 additions and 27 deletions
|
@ -82,9 +82,11 @@ static abi_ulong get_sigframe(struct target_sigaction *ka,
|
|||
return (sp - frame_size) & -8ul;
|
||||
}
|
||||
|
||||
/* Notice when we're in the middle of a gUSA region and reset.
|
||||
Note that this will only occur for !parallel_cpus, as we will
|
||||
translate such sequences differently in a parallel context. */
|
||||
/*
|
||||
* Notice when we're in the middle of a gUSA region and reset.
|
||||
* Note that this will only occur when #CF_PARALLEL is unset, as we
|
||||
* will translate such sequences differently in a parallel context.
|
||||
*/
|
||||
static void unwind_gusa(CPUSH4State *regs)
|
||||
{
|
||||
/* If the stack pointer is sufficiently negative, and we haven't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue