History | View | Annotate | Download (35.1 kB)
tci: Support INDEX_op_bswap64_i64
Running the Windows 7 (64 bit) boot process needs INDEX_op_bswap64_i64.It was already implemented, but untested. Remove the TODO statement.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
tci: Fix wrong macro name for debug code
Code which is compiled with CONFIG_TCG_DEBUG (set by configure option--enable-debug-tcg) should not disable the assert macro bydefining NDEBUG.
With the wrong macro name CONFIG_TCG_DEBUG, all assertions in tci.c...
tci: GETPC macro must return an uintptr_t
Change the data type of tci_tb_ptr, so GETPC returns anuintptr_t now (like for all other TCG targets).
This completes commit 2050396801ca0c8359364d61eaadece951006057and fixes builds with TCI.
Signed-off-by: Stefan Weil <sw@weilnetz.de>...
tci: Support targets with CONFIG_TCG_PASS_AREG0 (fix broken build)
Builds with --enable-tcg-interpreter failed because more and moretargets (currently alpha and sparc) replaced the global env in AREG0by function parameters.
Convert the TCG interpreter to use the new helper functions and add...
w64: Fix data type of next_tb and tcg_qemu_tb_exec
next_tb is the numeric value of a tcg target (= QEMU host) address.
Using tcg_target_ulong instead of unsigned long shows this and makesthe code portable for hosts with an unusual size of long (w64).
The type cast '(long)(next_tb & ~3)' was not needed (casting...
Rename CPUState -> CPUArchState
Scripted conversion: for file in .[hc] hw/.[hc] hw/kvm/*.[hc] linux-user/*.[hc] linux-user/m68k/*.[hc] bsd-user/*.[hc] darwin-user/*.[hc] tcg/*/*.[hc] target-*/cpu.h; do sed -i "s/CPUState/CPUArchState/g" $file done...
tcg: Standardize on TCGReg as the enum for hard registers
Most targets did not name the enum; tci used TCGRegister.
Signed-off-by: Richard Henderson <rth@twiddle.net>Reviewed-by: Andreas Färber <afaerber@suse.de>Reviewed-by: Stefan Weil <sw@weilnetz.de>...
tcg: Add interpreter for bytecode
Signed-off-by: Stefan Weil <sw@weilnetz.de>