tcg-target.c.inc (933b331b306cd530a441d25245577f30ee0b938e) tcg-target.c.inc (7b8801071951c55dc506c1fca8b40ba292a28d6e)
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2018 SiFive, Inc
5 * Copyright (c) 2008-2009 Arnaud Patard <arnaud.patard@rtp-net.org>
6 * Copyright (c) 2009 Aurelien Jarno <aurelien@aurel32.net>
7 * Copyright (c) 2008 Fabrice Bellard
8 *

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

848
849static void tcg_out_goto(TCGContext *s, const tcg_insn_unit *target)
850{
851 tcg_out_opc_jump(s, OPC_JAL, TCG_REG_ZERO, 0);
852 bool ok = reloc_jimm20(s->code_ptr - 1, target);
853 tcg_debug_assert(ok);
854}
855
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2018 SiFive, Inc
5 * Copyright (c) 2008-2009 Arnaud Patard <arnaud.patard@rtp-net.org>
6 * Copyright (c) 2009 Aurelien Jarno <aurelien@aurel32.net>
7 * Copyright (c) 2008 Fabrice Bellard
8 *

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

848
849static void tcg_out_goto(TCGContext *s, const tcg_insn_unit *target)
850{
851 tcg_out_opc_jump(s, OPC_JAL, TCG_REG_ZERO, 0);
852 bool ok = reloc_jimm20(s->code_ptr - 1, target);
853 tcg_debug_assert(ok);
854}
855
856bool tcg_target_has_memory_bswap(MemOp memop)
857{
858 return false;
859}
860
856/* We have three temps, we might as well expose them. */
857static const TCGLdstHelperParam ldst_helper_param = {
858 .ntmp = 3, .tmp = { TCG_REG_TMP0, TCG_REG_TMP1, TCG_REG_TMP2 }
859};
860
861static bool tcg_out_qemu_ld_slow_path(TCGContext *s, TCGLabelQemuLdst *l)
862{
863 MemOp opc = get_memop(l->oi);

--- 815 unchanged lines hidden ---
861/* We have three temps, we might as well expose them. */
862static const TCGLdstHelperParam ldst_helper_param = {
863 .ntmp = 3, .tmp = { TCG_REG_TMP0, TCG_REG_TMP1, TCG_REG_TMP2 }
864};
865
866static bool tcg_out_qemu_ld_slow_path(TCGContext *s, TCGLabelQemuLdst *l)
867{
868 MemOp opc = get_memop(l->oi);

--- 815 unchanged lines hidden ---