tcg-target.c.inc (30cc7a7e912481b5ba03df370d638f7ff4d7d6e1) 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

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

1771
1772typedef struct {
1773 TCGReg base;
1774 int index;
1775 int ofs;
1776 int seg;
1777} HostAddress;
1778
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

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

1771
1772typedef struct {
1773 TCGReg base;
1774 int index;
1775 int ofs;
1776 int seg;
1777} HostAddress;
1778
1779bool tcg_target_has_memory_bswap(MemOp memop)
1780{
1781 return have_movbe;
1782}
1783
1779/*
1780 * Because i686 has no register parameters and because x86_64 has xchg
1781 * to handle addr/data register overlap, we have placed all input arguments
1782 * before we need might need a scratch reg.
1783 *
1784 * Even then, a scratch is only needed for l->raddr. Rather than expose
1785 * a general-purpose scratch when we don't actually know it's available,
1786 * use the ra_gen hook to load into RAX if needed.

--- 2356 unchanged lines hidden ---
1784/*
1785 * Because i686 has no register parameters and because x86_64 has xchg
1786 * to handle addr/data register overlap, we have placed all input arguments
1787 * before we need might need a scratch reg.
1788 *
1789 * Even then, a scratch is only needed for l->raddr. Rather than expose
1790 * a general-purpose scratch when we don't actually know it's available,
1791 * use the ra_gen hook to load into RAX if needed.

--- 2356 unchanged lines hidden ---