tcg-target.c.inc (2908650333ec463031632baa6ab2c9609732056d) tcg-target.c.inc (7b8801071951c55dc506c1fca8b40ba292a28d6e)
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2008 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

1006 (intptr_t)lb->raddr, 0);
1007}
1008
1009typedef struct {
1010 TCGReg base;
1011 TCGReg index;
1012} HostAddress;
1013
1/*
2 * Tiny Code Generator for QEMU
3 *
4 * Copyright (c) 2008 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

1006 (intptr_t)lb->raddr, 0);
1007}
1008
1009typedef struct {
1010 TCGReg base;
1011 TCGReg index;
1012} HostAddress;
1013
1014bool tcg_target_has_memory_bswap(MemOp memop)
1015{
1016 return true;
1017}
1018
1014/*
1015 * For softmmu, perform the TLB load and compare.
1016 * For useronly, perform any required alignment tests.
1017 * In both cases, return a TCGLabelQemuLdst structure if the slow path
1018 * is required and fill in @h with the host address for the fast path.
1019 */
1020static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, HostAddress *h,
1021 TCGReg addr_reg, MemOpIdx oi,

--- 624 unchanged lines hidden ---
1019/*
1020 * For softmmu, perform the TLB load and compare.
1021 * For useronly, perform any required alignment tests.
1022 * In both cases, return a TCGLabelQemuLdst structure if the slow path
1023 * is required and fill in @h with the host address for the fast path.
1024 */
1025static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, HostAddress *h,
1026 TCGReg addr_reg, MemOpIdx oi,

--- 624 unchanged lines hidden ---