tcg-target.c.inc (79de3960) tcg-target.c.inc (7893e42d)
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

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

886{
887 return false;
888}
889
890/* We expect to use a 12-bit negative offset from ENV. */
891#define MIN_TLB_MASK_TABLE_OFS -(1 << 11)
892
893/*
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

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

886{
887 return false;
888}
889
890/* We expect to use a 12-bit negative offset from ENV. */
891#define MIN_TLB_MASK_TABLE_OFS -(1 << 11)
892
893/*
894 * For softmmu, perform the TLB load and compare.
895 * For useronly, perform any required alignment tests.
894 * For system-mode, perform the TLB load and compare.
895 * For user-mode, perform any required alignment tests.
896 * In both cases, return a TCGLabelQemuLdst structure if the slow path
897 * is required and fill in @h with the host address for the fast path.
898 */
899static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, HostAddress *h,
900 TCGReg addr_reg, MemOpIdx oi,
901 bool is_ld)
902{
903 TCGType addr_type = s->addr_type;

--- 1497 unchanged lines hidden ---
896 * In both cases, return a TCGLabelQemuLdst structure if the slow path
897 * is required and fill in @h with the host address for the fast path.
898 */
899static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, HostAddress *h,
900 TCGReg addr_reg, MemOpIdx oi,
901 bool is_ld)
902{
903 TCGType addr_type = s->addr_type;

--- 1497 unchanged lines hidden ---