Add a port to Linux/TileGx.  Zhi-Gang Liu (zliu@tilera.com)
Valgrind aspects, to match vex r3124.

See bug 339778 - Linux/TileGx platform support to Valgrind



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15080 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/Makefile.vex.am b/Makefile.vex.am
index 9b9b9b5..09a8db6 100644
--- a/Makefile.vex.am
+++ b/Makefile.vex.am
@@ -26,6 +26,7 @@
 	pub/libvex_guest_s390x.h \
 	pub/libvex_guest_mips32.h \
 	pub/libvex_guest_mips64.h \
+	pub/libvex_guest_tilegx.h \
 	pub/libvex_s390x_common.h \
 	pub/libvex_ir.h \
 	pub/libvex_trc_values.h
@@ -44,6 +45,7 @@
 	priv/guest_arm64_defs.h \
 	priv/guest_s390_defs.h \
 	priv/guest_mips_defs.h \
+	priv/guest_tilegx_defs.h \
 	priv/host_generic_regs.h \
 	priv/host_generic_simd64.h \
 	priv/host_generic_simd128.h \
@@ -57,7 +59,8 @@
 	priv/host_s390_defs.h \
 	priv/s390_disasm.h \
 	priv/s390_defs.h \
-	priv/host_mips_defs.h
+	priv/host_mips_defs.h \
+	priv/tilegx_disasm.h
 
 BUILT_SOURCES = pub/libvex_guest_offsets.h
 CLEANFILES    = pub/libvex_guest_offsets.h
@@ -82,7 +85,8 @@
 			    pub/libvex_guest_arm64.h \
 			    pub/libvex_guest_s390x.h \
 			    pub/libvex_guest_mips32.h \
-			    pub/libvex_guest_mips64.h
+			    pub/libvex_guest_mips64.h \
+			    pub/libvex_guest_tilegx.h
 	rm -f auxprogs/genoffsets.s
 	$(mkdir_p) auxprogs pub
 	$(CC) $(CFLAGS_FOR_GENOFFSETS) \
@@ -137,6 +141,8 @@
 	priv/guest_s390_toIR.c \
 	priv/guest_mips_helpers.c \
 	priv/guest_mips_toIR.c \
+	priv/guest_tilegx_helpers.c \
+	priv/guest_tilegx_toIR.c \
 	priv/host_generic_regs.c \
 	priv/host_generic_simd64.c \
 	priv/host_generic_simd128.c \
@@ -157,7 +163,10 @@
 	priv/host_s390_isel.c \
 	priv/s390_disasm.c \
 	priv/host_mips_defs.c \
-	priv/host_mips_isel.c
+	priv/host_mips_isel.c \
+	priv/host_tilegx_defs.c \
+	priv/host_tilegx_isel.c \
+	priv/tilegx_disasm.c
 
 LIBVEXMULTIARCH_SOURCES = priv/multiarch_main_main.c