translate.c (f2cfa1229e539ee1bb1822912075cf25538ad6b9) translate.c (14776ab5a12972ea439c7fb2203a4c15a09094b4)
1/*
2 * Alpha emulation cpu translation for qemu.
3 *
4 * Copyright (c) 2007 Jocelyn Mayer
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

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

398 va = (fp ? load_fpr(ctx, ra) : load_gpr(ctx, ra));
399 tcg_gen_qemu_store(va, addr, ctx->mem_idx);
400
401 tcg_temp_free(tmp);
402}
403
404static DisasJumpType gen_store_conditional(DisasContext *ctx, int ra, int rb,
405 int32_t disp16, int mem_idx,
1/*
2 * Alpha emulation cpu translation for qemu.
3 *
4 * Copyright (c) 2007 Jocelyn Mayer
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

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

398 va = (fp ? load_fpr(ctx, ra) : load_gpr(ctx, ra));
399 tcg_gen_qemu_store(va, addr, ctx->mem_idx);
400
401 tcg_temp_free(tmp);
402}
403
404static DisasJumpType gen_store_conditional(DisasContext *ctx, int ra, int rb,
405 int32_t disp16, int mem_idx,
406 TCGMemOp op)
406 MemOp op)
407{
408 TCGLabel *lab_fail, *lab_done;
409 TCGv addr, val;
410
411 addr = tcg_temp_new_i64();
412 tcg_gen_addi_i64(addr, load_gpr(ctx, rb), disp16);
413 free_context_temps(ctx);
414

--- 2646 unchanged lines hidden ---
407{
408 TCGLabel *lab_fail, *lab_done;
409 TCGv addr, val;
410
411 addr = tcg_temp_new_i64();
412 tcg_gen_addi_i64(addr, load_gpr(ctx, rb), disp16);
413 free_context_temps(ctx);
414

--- 2646 unchanged lines hidden ---