qemu/target/hppa/translate.c
/* Save the current nullification state to PSW[N].  */
Save the current nullification state to PSW[N].
Save the current nullification state to PSW [ N ] .
static void nullify_save(DisasContext *ctx)
{
    if (ctx->null_cond.c == TCG_COND_NEVER) {
        if (ctx->psw_n_nonzero) {
            tcg_gen_movi_reg(cpu_psw_n, 0);
        }
        return;
    }
    if (!ctx->null_cond.a0_is_n) {
        cond_prep(&ctx->null_cond);
        tcg_gen_setcond_reg(ctx->null_cond.c, cpu_psw_n,
                           ctx->null_cond.a0, ctx->null_cond.a1);
        ctx->psw_n_nonzero = true;
    }
    cond_free(&ctx->null_cond);
}
static void nullify_save ( DisasContext * ctx ) { if ( ctx -> null_cond . c == TCG_COND_NEVER ) { if ( ctx -> psw_n_nonzero ) { tcg_gen_movi_reg ( cpu_psw_n , 0 ) ; } return ; } if ( ! ctx -> null_cond . a0_is_n ) { cond_prep ( & ctx -> null_cond ) ; tcg_gen_setcond_reg ( ctx -> null_cond . c , cpu_psw_n , ctx -> null_cond . a0 , ctx -> null_cond . a1 ) ; ctx -> psw_n_nonzero = true ; } cond_free ( & ctx -> null_cond ) ; }
Save the current nullification state to PSW[N].
Save the current nullification state to PSW [ N ] .