Revision c19148bd target-sparc/op_helper.c

b/target-sparc/op_helper.c
2742 2742
    change_pstate((env->tsptr->tstate >> 8) & 0xf3f);
2743 2743
    PUT_CWP64(env, env->tsptr->tstate & 0xff);
2744 2744
    env->tl--;
2745
    env->tsptr = &env->ts[env->tl];
2745
    env->tsptr = &env->ts[env->tl & MAXTL_MASK];
2746 2746
}
2747 2747

  
2748 2748
void helper_retry(void)
......
2754 2754
    change_pstate((env->tsptr->tstate >> 8) & 0xf3f);
2755 2755
    PUT_CWP64(env, env->tsptr->tstate & 0xff);
2756 2756
    env->tl--;
2757
    env->tsptr = &env->ts[env->tl];
2757
    env->tsptr = &env->ts[env->tl & MAXTL_MASK];
2758 2758
}
2759 2759
#endif
2760 2760

  

Also available in: Unified diff