Re: [Qemu-devel] [PATCH 06/17] target-openrisc: Put SR[OVE] in TB flags

2015-09-04 Thread Richard Henderson
On 09/04/2015 06:05 AM, Bastian Koppelmann wrote: On 09/03/2015 02:17 AM, Richard Henderson wrote: { /* 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 ^

Re: [Qemu-devel] [PATCH 06/17] target-openrisc: Put SR[OVE] in TB flags

2015-09-04 Thread Bastian Koppelmann
On 09/03/2015 02:17 AM, Richard Henderson wrote: { /* 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_mov

[Qemu-devel] [PATCH 06/17] target-openrisc: Put SR[OVE] in TB flags

2015-09-02 Thread Richard Henderson
Removes a call at execution time for overflow exceptions. Signed-off-by: Richard Henderson --- target-openrisc/cpu.h | 4 ++-- target-openrisc/exception_helper.c | 2 +- target-openrisc/translate.c| 24 +++- 3 files changed, 18 insertions(+), 12 deletio