mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
tcg: Introduce tcg_target_has_memory_bswap
Replace the unparameterized TCG_TARGET_HAS_MEMORY_BSWAP macro with a function with a memop argument. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
933b331b30
commit
7b88010719
22 changed files with 63 additions and 26 deletions
|
@ -1325,6 +1325,11 @@ typedef struct {
|
|||
bool index_scratch;
|
||||
} HostAddress;
|
||||
|
||||
bool tcg_target_has_memory_bswap(MemOp memop)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static TCGReg ldst_ra_gen(TCGContext *s, const TCGLabelQemuLdst *l, int arg)
|
||||
{
|
||||
/* We arrive at the slow path via "BLNE", so R14 contains l->raddr. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue