On Mon, Oct 10, 2016 at 11:45 PM, Richard Henderson <r...@twiddle.net> wrote: > On 10/01/2016 05:05 AM, Artyom Tarasenko wrote: >> >> case 16: // UA2005 gl >> CHECK_IU_FEATURE(dc, GL); >> - tcg_gen_st32_tl(cpu_tmp0, cpu_env, >> - offsetof(CPUSPARCState, >> gl)); >> + save_state(dc); >> + gen_helper_wrgl(cpu_env, cpu_tmp0); >> + dc->npc = DYNAMIC_PC; > > > Why the state save? gen_helper_wrgl does not raise an exception... >
Good point. Will remove. -- Regards, Artyom Tarasenko SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu