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...


r~

Reply via email to