Revision 9fd1ae3a target-sparc/translate.c

b/target-sparc/translate.c
3484 3484
                            case 6: // pstate
3485 3485
                                save_state(dc, cpu_cond);
3486 3486
                                gen_helper_wrpstate(cpu_tmp0);
3487
                                gen_op_next_insn();
3488
                                tcg_gen_exit_tb(0);
3489
                                dc->is_br = 1;
3487
                                dc->npc = DYNAMIC_PC;
3490 3488
                                break;
3491 3489
                            case 7: // tl
3490
                                save_state(dc, cpu_cond);
3492 3491
                                tcg_gen_trunc_tl_i32(cpu_tmp32, cpu_tmp0);
3493 3492
                                tcg_gen_st_i32(cpu_tmp32, cpu_env,
3494 3493
                                               offsetof(CPUSPARCState, tl));
3494
                                dc->npc = DYNAMIC_PC;
3495 3495
                                break;
3496 3496
                            case 8: // pil
3497 3497
                                gen_helper_wrpil(cpu_tmp0);
......
4550 4550
#endif
4551 4551
                    save_state(dc, cpu_cond);
4552 4552
                    gen_st_asi(cpu_val, cpu_addr, insn, 4);
4553
                    dc->npc = DYNAMIC_PC;
4553 4554
                    break;
4554 4555
                case 0x15: /* stba, store byte alternate */
4555 4556
#ifndef TARGET_SPARC64
......
4560 4561
#endif
4561 4562
                    save_state(dc, cpu_cond);
4562 4563
                    gen_st_asi(cpu_val, cpu_addr, insn, 1);
4564
                    dc->npc = DYNAMIC_PC;
4563 4565
                    break;
4564 4566
                case 0x16: /* stha, store halfword alternate */
4565 4567
#ifndef TARGET_SPARC64
......
4570 4572
#endif
4571 4573
                    save_state(dc, cpu_cond);
4572 4574
                    gen_st_asi(cpu_val, cpu_addr, insn, 2);
4575
                    dc->npc = DYNAMIC_PC;
4573 4576
                    break;
4574 4577
                case 0x17: /* stda, store double word alternate */
4575 4578
#ifndef TARGET_SPARC64
......
4594 4597
                case 0x1e: /* V9 stxa */
4595 4598
                    save_state(dc, cpu_cond);
4596 4599
                    gen_st_asi(cpu_val, cpu_addr, insn, 8);
4600
                    dc->npc = DYNAMIC_PC;
4597 4601
                    break;
4598 4602
#endif
4599 4603
                default:

Also available in: Unified diff