Revision d7da2a10 target-sparc/translate.c

b/target-sparc/translate.c
4932 4932
    if (npc == 1) {
4933 4933
        /* dynamic NPC: already stored */
4934 4934
    } else if (npc == 2) {
4935
        target_ulong t2 = (target_ulong)(unsigned long)puc;
4936
        /* jump PC: use T2 and the jump targets of the translation */
4937
        if (t2)
4935
        /* jump PC: use 'cond' and the jump targets of the translation */
4936
        if (env->cond) {
4938 4937
            env->npc = gen_opc_jump_pc[0];
4939
        else
4938
        } else {
4940 4939
            env->npc = gen_opc_jump_pc[1];
4940
        }
4941 4941
    } else {
4942 4942
        env->npc = npc;
4943 4943
    }

Also available in: Unified diff