translate.c (0dcd6640e49c3cbd534e5a1d39338bcd6e691e18) translate.c (d08ad0e0f08d3b6561be83beb992b9835aa47895)
1/*
2 * HPPA emulation cpu translation for qemu.
3 *
4 * Copyright (c) 2016 Richard Henderson <rth@twiddle.net>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 1792 unchanged lines hidden (view full) ---

1801 have already had nullification handled. */
1802static bool do_dbranch(DisasContext *ctx, int64_t disp,
1803 unsigned link, bool is_n)
1804{
1805 uint64_t dest = iaoq_dest(ctx, disp);
1806
1807 if (ctx->null_cond.c == TCG_COND_NEVER && ctx->null_lab == NULL) {
1808 install_link(ctx, link, false);
1/*
2 * HPPA emulation cpu translation for qemu.
3 *
4 * Copyright (c) 2016 Richard Henderson <rth@twiddle.net>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 1792 unchanged lines hidden (view full) ---

1801 have already had nullification handled. */
1802static bool do_dbranch(DisasContext *ctx, int64_t disp,
1803 unsigned link, bool is_n)
1804{
1805 uint64_t dest = iaoq_dest(ctx, disp);
1806
1807 if (ctx->null_cond.c == TCG_COND_NEVER && ctx->null_lab == NULL) {
1808 install_link(ctx, link, false);
1809 ctx->iaoq_n = dest;
1810 ctx->iaoq_n_var = NULL;
1811 if (is_n) {
1809 if (is_n) {
1810 if (use_nullify_skip(ctx)) {
1811 nullify_set(ctx, 0);
1812 gen_goto_tb(ctx, 0, dest, dest + 4);
1813 ctx->base.is_jmp = DISAS_NORETURN;
1814 return true;
1815 }
1812 ctx->null_cond.c = TCG_COND_ALWAYS;
1813 }
1816 ctx->null_cond.c = TCG_COND_ALWAYS;
1817 }
1818 ctx->iaoq_n = dest;
1819 ctx->iaoq_n_var = NULL;
1814 } else {
1815 nullify_over(ctx);
1816
1817 install_link(ctx, link, false);
1818 if (is_n && use_nullify_skip(ctx)) {
1819 nullify_set(ctx, 0);
1820 gen_goto_tb(ctx, 0, dest, dest + 4);
1821 } else {

--- 2996 unchanged lines hidden ---
1820 } else {
1821 nullify_over(ctx);
1822
1823 install_link(ctx, link, false);
1824 if (is_n && use_nullify_skip(ctx)) {
1825 nullify_set(ctx, 0);
1826 gen_goto_tb(ctx, 0, dest, dest + 4);
1827 } else {

--- 2996 unchanged lines hidden ---