tcg-target.c.inc (12d7fead7c6232b3ddae963b113dcaf7e1cb1f28) tcg-target.c.inc (7b8801071951c55dc506c1fca8b40ba292a28d6e)
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2021 WANG Xuerui <git@xen0n.name>
5 *
6 * Based on tcg/riscv/tcg-target.c.inc
7 *
8 * Copyright (c) 2018 SiFive, Inc

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

823 return tcg_out_goto(s, l->raddr);
824}
825
826typedef struct {
827 TCGReg base;
828 TCGReg index;
829} HostAddress;
830
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2021 WANG Xuerui <git@xen0n.name>
5 *
6 * Based on tcg/riscv/tcg-target.c.inc
7 *
8 * Copyright (c) 2018 SiFive, Inc

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

823 return tcg_out_goto(s, l->raddr);
824}
825
826typedef struct {
827 TCGReg base;
828 TCGReg index;
829} HostAddress;
830
831bool tcg_target_has_memory_bswap(MemOp memop)
832{
833 return false;
834}
835
831/*
832 * For softmmu, perform the TLB load and compare.
833 * For useronly, perform any required alignment tests.
834 * In both cases, return a TCGLabelQemuLdst structure if the slow path
835 * is required and fill in @h with the host address for the fast path.
836 */
837static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, HostAddress *h,
838 TCGReg addr_reg, MemOpIdx oi,

--- 920 unchanged lines hidden ---
836/*
837 * For softmmu, perform the TLB load and compare.
838 * For useronly, perform any required alignment tests.
839 * In both cases, return a TCGLabelQemuLdst structure if the slow path
840 * is required and fill in @h with the host address for the fast path.
841 */
842static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, HostAddress *h,
843 TCGReg addr_reg, MemOpIdx oi,

--- 920 unchanged lines hidden ---