The tcg_out_mov patch you've seen before, but now contains a TCG_TYPE_REG that should address the concerns you had with the changes to the sparc port. It's also been updated to HEAD to reflect the changes in tcg/i386.
The second patch is new. r~ Richard Henderson (2): tcg: Add TYPE parameter to tcg_out_mov. tcg: Make some tcg-target.c routines static. tcg/arm/tcg-target.c | 6 ++-- tcg/hppa/tcg-target.c | 42 +++++++++++++++++++------------------- tcg/i386/tcg-target.c | 40 ++++++++++++++++++------------------ tcg/ia64/tcg-target.c | 7 +++-- tcg/mips/tcg-target.c | 32 ++++++++++++++-------------- tcg/ppc/tcg-target.c | 52 +++++++++++++++++++++++----------------------- tcg/ppc64/tcg-target.c | 14 ++++++------ tcg/s390/tcg-target.c | 6 ++-- tcg/sparc/tcg-target.c | 14 ++++++------ tcg/tcg.c | 14 +++++++----- tcg/tcg.h | 14 ++++++++---- tcg/x86_64/tcg-target.c | 49 ++++++++++++++++++-------------------------- 12 files changed, 144 insertions(+), 146 deletions(-)