]> Git Repo - qemu.git/commit
tcg: Add TYPE parameter to tcg_out_mov.
authorRichard Henderson <[email protected]>
Thu, 3 Jun 2010 00:26:55 +0000 (17:26 -0700)
committerAurelien Jarno <[email protected]>
Wed, 9 Jun 2010 09:18:25 +0000 (11:18 +0200)
commit3b6dac34161bc0a342336072643c2f6d17e0ec45
tree1c74436bda2c635a7ad95d57b36736d5ba1db724
parent26ebe46848ecb2462cc53d4de20ac6590709643b
tcg: Add TYPE parameter to tcg_out_mov.

Mirror tcg_out_movi in having a TYPE parameter.  This allows x86_64
to perform the move at the proper width, which may elide a REX prefix.

Introduce a TCG_TYPE_REG enumerator to represent the "native width"
of the host register, and to distinguish the usage from "pointer data"
as represented by the existing TCG_TYPE_PTR.

Update all targets to match.

Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
12 files changed:
tcg/arm/tcg-target.c
tcg/hppa/tcg-target.c
tcg/i386/tcg-target.c
tcg/ia64/tcg-target.c
tcg/mips/tcg-target.c
tcg/ppc/tcg-target.c
tcg/ppc64/tcg-target.c
tcg/s390/tcg-target.c
tcg/sparc/tcg-target.c
tcg/tcg.c
tcg/tcg.h
tcg/x86_64/tcg-target.c
This page took 0.028133 seconds and 4 git commands to generate.