|
From: | Bastian Koppelmann |
Subject: | Re: [Qemu-devel] [PATCH 06/17] target-openrisc: Put SR[OVE] in TB flags |
Date: | Fri, 4 Sep 2015 15:05:02 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 09/03/2015 02:17 AM, Richard Henderson wrote:
Why do we only need to sync D_FLAG? Will there only be D_FLAG, which needs to be synced?{ /* Sync the tb dependent flag between translate and runtime. */ - if (dc->tb_flags != dc->synced_flags) { - tcg_gen_movi_tl(env_flags, dc->tb_flags); + if ((dc->tb_flags ^ dc->synced_flags) & D_FLAG) { + tcg_gen_movi_tl(env_flags, dc->tb_flags & D_FLAG); dc->synced_flags = dc->tb_flags; } }
Cheers, Bastian
[Prev in Thread] | Current Thread | [Next in Thread] |