revision 1263:b3de98d19faf
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1263:b3de98d19faf |
parent | 1262:4baa34eee6fc |
child | 1264:74ad81710528 |
author | nkeynes |
date | Tue Mar 06 09:04:34 2012 +1000 (12 years ago) |
Break host disassembly bits out of sh4x86.in, and move the generic disasm
bits from x86dasm to xlat.
bits from x86dasm to xlat.
src/Makefile.am | view | annotate | diff | log | ||
src/Makefile.in | view | annotate | diff | log | ||
src/sh4/sh4trans.c | view | annotate | diff | log | ||
src/sh4/sh4trans.h | view | annotate | diff | log | ||
src/sh4/sh4x86.in | view | annotate | diff | log | ||
src/test/testsh4x86.c | view | annotate | diff | log | ||
src/x86dasm/i386-dis.c | view | annotate | diff | log | ||
src/x86dasm/x86dasm.c | view | annotate | diff | log | ||
src/x86dasm/x86dasm.h | view | annotate | diff | log | ||
src/xlat/xlatdasm.c | view | annotate | diff | log | ||
src/xlat/xlatdasm.h | view | annotate | diff | log | ||
src/xlat/xltcache.c | view | annotate | diff | log | ||
src/xlat/xltcache.h | view | annotate | diff | log |
1.1 --- a/src/Makefile.am Mon Mar 05 22:20:33 2012 +10001.2 +++ b/src/Makefile.am Tue Mar 06 09:04:34 2012 +10001.3 @@ -86,15 +86,16 @@1.4 if BUILD_SH4X861.5 liblxdream_core_a_SOURCES += sh4/sh4x86.c xlat/x86/x86op.h \1.6 xlat/x86/ia32abi.h xlat/x86/amd64abi.h \1.7 + xlat/xlatdasm.c xlat/xlatdasm.h \1.8 sh4/sh4trans.c sh4/sh4trans.h sh4/mmux86.c sh4/shadow.c \1.9 - x86dasm/x86dasm.c x86dasm/x86dasm.h \1.10 x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c \1.11 x86dasm/ansidecl.h x86dasm/bfd.h x86dasm/dis-asm.h \1.12 x86dasm/symcat.h x86dasm/sysdep.h1.14 test_testsh4x86_LDADD = @LXDREAM_LIBS@ @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@1.15 -test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \1.16 - x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \1.17 +test_testsh4x86_CPPFLAGS = @LXDREAMCPPFLAGS@1.18 +test_testsh4x86_SOURCES = test/testsh4x86.c xlat/xlatdasm.c \1.19 + xlat/xlatdasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \1.20 x86dasm/dis-buf.c \1.21 sh4/sh4trans.c sh4/sh4x86.c xlat/xltcache.c sh4/sh4dasm.c \1.22 xlat/xltcache.h mem.c util.c cpu.c
2.1 --- a/src/Makefile.in Mon Mar 05 22:20:33 2012 +10002.2 +++ b/src/Makefile.in Tue Mar 06 09:04:34 2012 +10002.3 @@ -45,8 +45,8 @@2.4 @BUILD_PLUGINS_TRUE@am__append_1 = plugin.c plugin.h2.5 @BUILD_SH4X86_TRUE@am__append_2 = sh4/sh4x86.c xlat/x86/x86op.h \2.6 @BUILD_SH4X86_TRUE@ xlat/x86/ia32abi.h xlat/x86/amd64abi.h \2.7 +@BUILD_SH4X86_TRUE@ xlat/xlatdasm.c xlat/xlatdasm.h \2.8 @BUILD_SH4X86_TRUE@ sh4/sh4trans.c sh4/sh4trans.h sh4/mmux86.c sh4/shadow.c \2.9 -@BUILD_SH4X86_TRUE@ x86dasm/x86dasm.c x86dasm/x86dasm.h \2.10 @BUILD_SH4X86_TRUE@ x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c \2.11 @BUILD_SH4X86_TRUE@ x86dasm/ansidecl.h x86dasm/bfd.h x86dasm/dis-asm.h \2.12 @BUILD_SH4X86_TRUE@ x86dasm/symcat.h x86dasm/sysdep.h2.13 @@ -144,18 +144,18 @@2.14 drivers/cdrom/isofs.c drivers/cdrom/isomem.c sh4/sh4.def \2.15 sh4/sh4core.in sh4/sh4x86.in sh4/sh4dasm.in sh4/sh4stat.in \2.16 hotkeys.c hotkeys.h sh4/sh4x86.c xlat/x86/x86op.h \2.17 - xlat/x86/ia32abi.h xlat/x86/amd64abi.h sh4/sh4trans.c \2.18 - sh4/sh4trans.h sh4/mmux86.c sh4/shadow.c x86dasm/x86dasm.c \2.19 - x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \2.20 + xlat/x86/ia32abi.h xlat/x86/amd64abi.h xlat/xlatdasm.c \2.21 + xlat/xlatdasm.h sh4/sh4trans.c sh4/sh4trans.h sh4/mmux86.c \2.22 + sh4/shadow.c x86dasm/i386-dis.c x86dasm/dis-init.c \2.23 x86dasm/dis-buf.c x86dasm/ansidecl.h x86dasm/bfd.h \2.24 x86dasm/dis-asm.h x86dasm/symcat.h x86dasm/sysdep.h \2.25 cocoaui/paths_osx.m drivers/io_osx.m drivers/mac_keymap.h \2.26 drivers/mac_keymap.txt paths_unix.c drivers/io_glib.c2.27 @BUILD_SH4X86_TRUE@am__objects_1 = liblxdream_core_a-sh4x86.$(OBJEXT) \2.28 +@BUILD_SH4X86_TRUE@ liblxdream_core_a-xlatdasm.$(OBJEXT) \2.29 @BUILD_SH4X86_TRUE@ liblxdream_core_a-sh4trans.$(OBJEXT) \2.30 @BUILD_SH4X86_TRUE@ liblxdream_core_a-mmux86.$(OBJEXT) \2.31 @BUILD_SH4X86_TRUE@ liblxdream_core_a-shadow.$(OBJEXT) \2.32 -@BUILD_SH4X86_TRUE@ liblxdream_core_a-x86dasm.$(OBJEXT) \2.33 @BUILD_SH4X86_TRUE@ liblxdream_core_a-i386-dis.$(OBJEXT) \2.34 @BUILD_SH4X86_TRUE@ liblxdream_core_a-dis-init.$(OBJEXT) \2.35 @BUILD_SH4X86_TRUE@ liblxdream_core_a-dis-buf.$(OBJEXT)2.36 @@ -352,16 +352,23 @@2.37 test_testlxpaths_OBJECTS = $(am_test_testlxpaths_OBJECTS)2.38 test_testlxpaths_DEPENDENCIES =2.39 am__dirstamp = $(am__leading_dot)dirstamp2.40 -am__test_testsh4x86_SOURCES_DIST = test/testsh4x86.c x86dasm/x86dasm.c \2.41 - x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \2.42 +am__test_testsh4x86_SOURCES_DIST = test/testsh4x86.c xlat/xlatdasm.c \2.43 + xlat/xlatdasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \2.44 x86dasm/dis-buf.c sh4/sh4trans.c sh4/sh4x86.c xlat/xltcache.c \2.45 sh4/sh4dasm.c xlat/xltcache.h mem.c util.c cpu.c2.46 -@BUILD_SH4X86_TRUE@am_test_testsh4x86_OBJECTS = testsh4x86.$(OBJEXT) \2.47 -@BUILD_SH4X86_TRUE@ x86dasm.$(OBJEXT) i386-dis.$(OBJEXT) \2.48 -@BUILD_SH4X86_TRUE@ dis-init.$(OBJEXT) dis-buf.$(OBJEXT) \2.49 -@BUILD_SH4X86_TRUE@ sh4trans.$(OBJEXT) sh4x86.$(OBJEXT) \2.50 -@BUILD_SH4X86_TRUE@ xltcache.$(OBJEXT) sh4dasm.$(OBJEXT) \2.51 -@BUILD_SH4X86_TRUE@ mem.$(OBJEXT) util.$(OBJEXT) cpu.$(OBJEXT)2.52 +@BUILD_SH4X86_TRUE@am_test_testsh4x86_OBJECTS = \2.53 +@BUILD_SH4X86_TRUE@ test_testsh4x86-testsh4x86.$(OBJEXT) \2.54 +@BUILD_SH4X86_TRUE@ test_testsh4x86-xlatdasm.$(OBJEXT) \2.55 +@BUILD_SH4X86_TRUE@ test_testsh4x86-i386-dis.$(OBJEXT) \2.56 +@BUILD_SH4X86_TRUE@ test_testsh4x86-dis-init.$(OBJEXT) \2.57 +@BUILD_SH4X86_TRUE@ test_testsh4x86-dis-buf.$(OBJEXT) \2.58 +@BUILD_SH4X86_TRUE@ test_testsh4x86-sh4trans.$(OBJEXT) \2.59 +@BUILD_SH4X86_TRUE@ test_testsh4x86-sh4x86.$(OBJEXT) \2.60 +@BUILD_SH4X86_TRUE@ test_testsh4x86-xltcache.$(OBJEXT) \2.61 +@BUILD_SH4X86_TRUE@ test_testsh4x86-sh4dasm.$(OBJEXT) \2.62 +@BUILD_SH4X86_TRUE@ test_testsh4x86-mem.$(OBJEXT) \2.63 +@BUILD_SH4X86_TRUE@ test_testsh4x86-util.$(OBJEXT) \2.64 +@BUILD_SH4X86_TRUE@ test_testsh4x86-cpu.$(OBJEXT)2.65 test_testsh4x86_OBJECTS = $(am_test_testsh4x86_OBJECTS)2.66 test_testsh4x86_DEPENDENCIES =2.67 am_test_testxlt_OBJECTS = testxlt.$(OBJEXT) xltcache.$(OBJEXT)2.68 @@ -686,8 +693,9 @@2.69 hotkeys.c hotkeys.h $(am__append_2) $(am__append_6) \2.70 $(am__append_8)2.71 @BUILD_SH4X86_TRUE@test_testsh4x86_LDADD = @LXDREAM_LIBS@ @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@2.72 -@BUILD_SH4X86_TRUE@test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \2.73 -@BUILD_SH4X86_TRUE@ x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \2.74 +@BUILD_SH4X86_TRUE@test_testsh4x86_CPPFLAGS = @LXDREAMCPPFLAGS@2.75 +@BUILD_SH4X86_TRUE@test_testsh4x86_SOURCES = test/testsh4x86.c xlat/xlatdasm.c \2.76 +@BUILD_SH4X86_TRUE@ xlat/xlatdasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \2.77 @BUILD_SH4X86_TRUE@ x86dasm/dis-buf.c \2.78 @BUILD_SH4X86_TRUE@ sh4/sh4trans.c sh4/sh4x86.c xlat/xltcache.c sh4/sh4dasm.c \2.79 @BUILD_SH4X86_TRUE@ xlat/xltcache.h mem.c util.c cpu.c2.80 @@ -857,11 +865,7 @@2.81 -rm -f *.tab.c2.83 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cd_none.Po@am__quote@2.84 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu.Po@am__quote@2.85 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dis-buf.Po@am__quote@2.86 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dis-init.Po@am__quote@2.87 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_android.Po@am__quote@2.88 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386-dis.Po@am__quote@2.89 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-aica.Po@am__quote@2.90 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-armcore.Po@am__quote@2.91 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-armdasm.Po@am__quote@2.92 @@ -948,7 +952,7 @@2.93 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-vmulist.Po@am__quote@2.94 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-vmuvol.Po@am__quote@2.95 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-watch.Po@am__quote@2.96 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-x86dasm.Po@am__quote@2.97 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-xlatdasm.Po@am__quote@2.98 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-xltcache.Po@am__quote@2.99 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblxdream_core_a-yuv.Po@am__quote@2.100 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-audio_alsa.Po@am__quote@2.101 @@ -987,17 +991,22 @@2.102 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-video_nsgl.Po@am__quote@2.103 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-video_osx.Po@am__quote@2.104 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxpaths.Po@am__quote@2.105 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mem.Po@am__quote@2.106 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sh4dasm.Po@am__quote@2.107 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sh4trans.Po@am__quote@2.108 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sh4x86.Po@am__quote@2.109 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-cpu.Po@am__quote@2.110 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-dis-buf.Po@am__quote@2.111 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-dis-init.Po@am__quote@2.112 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-i386-dis.Po@am__quote@2.113 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-mem.Po@am__quote@2.114 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-sh4dasm.Po@am__quote@2.115 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-sh4trans.Po@am__quote@2.116 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-sh4x86.Po@am__quote@2.117 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-testsh4x86.Po@am__quote@2.118 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-util.Po@am__quote@2.119 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-xlatdasm.Po@am__quote@2.120 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-xltcache.Po@am__quote@2.121 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testlxpaths.Po@am__quote@2.122 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testsh4x86.Po@am__quote@2.123 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testxlt.Po@am__quote@2.124 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tqueue.Po@am__quote@2.125 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@2.126 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_egl.Po@am__quote@2.127 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86dasm.Po@am__quote@2.128 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xltcache.Po@am__quote@2.130 .c.o:2.131 @@ -2106,6 +2115,20 @@2.132 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.133 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblxdream_core_a-sh4x86.obj `if test -f 'sh4/sh4x86.c'; then $(CYGPATH_W) 'sh4/sh4x86.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4x86.c'; fi`2.135 +liblxdream_core_a-xlatdasm.o: xlat/xlatdasm.c2.136 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblxdream_core_a-xlatdasm.o -MD -MP -MF "$(DEPDIR)/liblxdream_core_a-xlatdasm.Tpo" -c -o liblxdream_core_a-xlatdasm.o `test -f 'xlat/xlatdasm.c' || echo '$(srcdir)/'`xlat/xlatdasm.c; \2.137 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/liblxdream_core_a-xlatdasm.Tpo" "$(DEPDIR)/liblxdream_core_a-xlatdasm.Po"; else rm -f "$(DEPDIR)/liblxdream_core_a-xlatdasm.Tpo"; exit 1; fi2.138 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlat/xlatdasm.c' object='liblxdream_core_a-xlatdasm.o' libtool=no @AMDEPBACKSLASH@2.139 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.140 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblxdream_core_a-xlatdasm.o `test -f 'xlat/xlatdasm.c' || echo '$(srcdir)/'`xlat/xlatdasm.c2.141 +2.142 +liblxdream_core_a-xlatdasm.obj: xlat/xlatdasm.c2.143 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblxdream_core_a-xlatdasm.obj -MD -MP -MF "$(DEPDIR)/liblxdream_core_a-xlatdasm.Tpo" -c -o liblxdream_core_a-xlatdasm.obj `if test -f 'xlat/xlatdasm.c'; then $(CYGPATH_W) 'xlat/xlatdasm.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xlatdasm.c'; fi`; \2.144 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/liblxdream_core_a-xlatdasm.Tpo" "$(DEPDIR)/liblxdream_core_a-xlatdasm.Po"; else rm -f "$(DEPDIR)/liblxdream_core_a-xlatdasm.Tpo"; exit 1; fi2.145 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlat/xlatdasm.c' object='liblxdream_core_a-xlatdasm.obj' libtool=no @AMDEPBACKSLASH@2.146 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.147 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblxdream_core_a-xlatdasm.obj `if test -f 'xlat/xlatdasm.c'; then $(CYGPATH_W) 'xlat/xlatdasm.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xlatdasm.c'; fi`2.148 +2.149 liblxdream_core_a-sh4trans.o: sh4/sh4trans.c2.150 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblxdream_core_a-sh4trans.o -MD -MP -MF "$(DEPDIR)/liblxdream_core_a-sh4trans.Tpo" -c -o liblxdream_core_a-sh4trans.o `test -f 'sh4/sh4trans.c' || echo '$(srcdir)/'`sh4/sh4trans.c; \2.151 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/liblxdream_core_a-sh4trans.Tpo" "$(DEPDIR)/liblxdream_core_a-sh4trans.Po"; else rm -f "$(DEPDIR)/liblxdream_core_a-sh4trans.Tpo"; exit 1; fi2.152 @@ -2148,20 +2171,6 @@2.153 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.154 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblxdream_core_a-shadow.obj `if test -f 'sh4/shadow.c'; then $(CYGPATH_W) 'sh4/shadow.c'; else $(CYGPATH_W) '$(srcdir)/sh4/shadow.c'; fi`2.156 -liblxdream_core_a-x86dasm.o: x86dasm/x86dasm.c2.157 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblxdream_core_a-x86dasm.o -MD -MP -MF "$(DEPDIR)/liblxdream_core_a-x86dasm.Tpo" -c -o liblxdream_core_a-x86dasm.o `test -f 'x86dasm/x86dasm.c' || echo '$(srcdir)/'`x86dasm/x86dasm.c; \2.158 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/liblxdream_core_a-x86dasm.Tpo" "$(DEPDIR)/liblxdream_core_a-x86dasm.Po"; else rm -f "$(DEPDIR)/liblxdream_core_a-x86dasm.Tpo"; exit 1; fi2.159 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/x86dasm.c' object='liblxdream_core_a-x86dasm.o' libtool=no @AMDEPBACKSLASH@2.160 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.161 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblxdream_core_a-x86dasm.o `test -f 'x86dasm/x86dasm.c' || echo '$(srcdir)/'`x86dasm/x86dasm.c2.162 -2.163 -liblxdream_core_a-x86dasm.obj: x86dasm/x86dasm.c2.164 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblxdream_core_a-x86dasm.obj -MD -MP -MF "$(DEPDIR)/liblxdream_core_a-x86dasm.Tpo" -c -o liblxdream_core_a-x86dasm.obj `if test -f 'x86dasm/x86dasm.c'; then $(CYGPATH_W) 'x86dasm/x86dasm.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/x86dasm.c'; fi`; \2.165 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/liblxdream_core_a-x86dasm.Tpo" "$(DEPDIR)/liblxdream_core_a-x86dasm.Po"; else rm -f "$(DEPDIR)/liblxdream_core_a-x86dasm.Tpo"; exit 1; fi2.166 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/x86dasm.c' object='liblxdream_core_a-x86dasm.obj' libtool=no @AMDEPBACKSLASH@2.167 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.168 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblxdream_core_a-x86dasm.obj `if test -f 'x86dasm/x86dasm.c'; then $(CYGPATH_W) 'x86dasm/x86dasm.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/x86dasm.c'; fi`2.169 -2.170 liblxdream_core_a-i386-dis.o: x86dasm/i386-dis.c2.171 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblxdream_core_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblxdream_core_a-i386-dis.o -MD -MP -MF "$(DEPDIR)/liblxdream_core_a-i386-dis.Tpo" -c -o liblxdream_core_a-i386-dis.o `test -f 'x86dasm/i386-dis.c' || echo '$(srcdir)/'`x86dasm/i386-dis.c; \2.172 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/liblxdream_core_a-i386-dis.Tpo" "$(DEPDIR)/liblxdream_core_a-i386-dis.Po"; else rm -f "$(DEPDIR)/liblxdream_core_a-i386-dis.Tpo"; exit 1; fi2.173 @@ -2624,103 +2633,187 @@2.174 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.175 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testlxpaths.obj `if test -f 'test/testlxpaths.c'; then $(CYGPATH_W) 'test/testlxpaths.c'; else $(CYGPATH_W) '$(srcdir)/test/testlxpaths.c'; fi`2.177 -testsh4x86.o: test/testsh4x86.c2.178 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsh4x86.o -MD -MP -MF "$(DEPDIR)/testsh4x86.Tpo" -c -o testsh4x86.o `test -f 'test/testsh4x86.c' || echo '$(srcdir)/'`test/testsh4x86.c; \2.179 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/testsh4x86.Tpo" "$(DEPDIR)/testsh4x86.Po"; else rm -f "$(DEPDIR)/testsh4x86.Tpo"; exit 1; fi2.180 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testsh4x86.c' object='testsh4x86.o' libtool=no @AMDEPBACKSLASH@2.181 +test_testsh4x86-testsh4x86.o: test/testsh4x86.c2.182 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-testsh4x86.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-testsh4x86.Tpo" -c -o test_testsh4x86-testsh4x86.o `test -f 'test/testsh4x86.c' || echo '$(srcdir)/'`test/testsh4x86.c; \2.183 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-testsh4x86.Tpo" "$(DEPDIR)/test_testsh4x86-testsh4x86.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-testsh4x86.Tpo"; exit 1; fi2.184 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testsh4x86.c' object='test_testsh4x86-testsh4x86.o' libtool=no @AMDEPBACKSLASH@2.185 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.186 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsh4x86.o `test -f 'test/testsh4x86.c' || echo '$(srcdir)/'`test/testsh4x86.c2.187 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-testsh4x86.o `test -f 'test/testsh4x86.c' || echo '$(srcdir)/'`test/testsh4x86.c2.189 -testsh4x86.obj: test/testsh4x86.c2.190 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsh4x86.obj -MD -MP -MF "$(DEPDIR)/testsh4x86.Tpo" -c -o testsh4x86.obj `if test -f 'test/testsh4x86.c'; then $(CYGPATH_W) 'test/testsh4x86.c'; else $(CYGPATH_W) '$(srcdir)/test/testsh4x86.c'; fi`; \2.191 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/testsh4x86.Tpo" "$(DEPDIR)/testsh4x86.Po"; else rm -f "$(DEPDIR)/testsh4x86.Tpo"; exit 1; fi2.192 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testsh4x86.c' object='testsh4x86.obj' libtool=no @AMDEPBACKSLASH@2.193 +test_testsh4x86-testsh4x86.obj: test/testsh4x86.c2.194 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-testsh4x86.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-testsh4x86.Tpo" -c -o test_testsh4x86-testsh4x86.obj `if test -f 'test/testsh4x86.c'; then $(CYGPATH_W) 'test/testsh4x86.c'; else $(CYGPATH_W) '$(srcdir)/test/testsh4x86.c'; fi`; \2.195 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-testsh4x86.Tpo" "$(DEPDIR)/test_testsh4x86-testsh4x86.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-testsh4x86.Tpo"; exit 1; fi2.196 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testsh4x86.c' object='test_testsh4x86-testsh4x86.obj' libtool=no @AMDEPBACKSLASH@2.197 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.198 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsh4x86.obj `if test -f 'test/testsh4x86.c'; then $(CYGPATH_W) 'test/testsh4x86.c'; else $(CYGPATH_W) '$(srcdir)/test/testsh4x86.c'; fi`2.199 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-testsh4x86.obj `if test -f 'test/testsh4x86.c'; then $(CYGPATH_W) 'test/testsh4x86.c'; else $(CYGPATH_W) '$(srcdir)/test/testsh4x86.c'; fi`2.201 -x86dasm.o: x86dasm/x86dasm.c2.202 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT x86dasm.o -MD -MP -MF "$(DEPDIR)/x86dasm.Tpo" -c -o x86dasm.o `test -f 'x86dasm/x86dasm.c' || echo '$(srcdir)/'`x86dasm/x86dasm.c; \2.203 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/x86dasm.Tpo" "$(DEPDIR)/x86dasm.Po"; else rm -f "$(DEPDIR)/x86dasm.Tpo"; exit 1; fi2.204 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/x86dasm.c' object='x86dasm.o' libtool=no @AMDEPBACKSLASH@2.205 +test_testsh4x86-xlatdasm.o: xlat/xlatdasm.c2.206 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-xlatdasm.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-xlatdasm.Tpo" -c -o test_testsh4x86-xlatdasm.o `test -f 'xlat/xlatdasm.c' || echo '$(srcdir)/'`xlat/xlatdasm.c; \2.207 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-xlatdasm.Tpo" "$(DEPDIR)/test_testsh4x86-xlatdasm.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-xlatdasm.Tpo"; exit 1; fi2.208 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlat/xlatdasm.c' object='test_testsh4x86-xlatdasm.o' libtool=no @AMDEPBACKSLASH@2.209 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.210 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86dasm.o `test -f 'x86dasm/x86dasm.c' || echo '$(srcdir)/'`x86dasm/x86dasm.c2.211 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-xlatdasm.o `test -f 'xlat/xlatdasm.c' || echo '$(srcdir)/'`xlat/xlatdasm.c2.213 -x86dasm.obj: x86dasm/x86dasm.c2.214 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT x86dasm.obj -MD -MP -MF "$(DEPDIR)/x86dasm.Tpo" -c -o x86dasm.obj `if test -f 'x86dasm/x86dasm.c'; then $(CYGPATH_W) 'x86dasm/x86dasm.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/x86dasm.c'; fi`; \2.215 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/x86dasm.Tpo" "$(DEPDIR)/x86dasm.Po"; else rm -f "$(DEPDIR)/x86dasm.Tpo"; exit 1; fi2.216 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/x86dasm.c' object='x86dasm.obj' libtool=no @AMDEPBACKSLASH@2.217 +test_testsh4x86-xlatdasm.obj: xlat/xlatdasm.c2.218 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-xlatdasm.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-xlatdasm.Tpo" -c -o test_testsh4x86-xlatdasm.obj `if test -f 'xlat/xlatdasm.c'; then $(CYGPATH_W) 'xlat/xlatdasm.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xlatdasm.c'; fi`; \2.219 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-xlatdasm.Tpo" "$(DEPDIR)/test_testsh4x86-xlatdasm.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-xlatdasm.Tpo"; exit 1; fi2.220 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlat/xlatdasm.c' object='test_testsh4x86-xlatdasm.obj' libtool=no @AMDEPBACKSLASH@2.221 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.222 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86dasm.obj `if test -f 'x86dasm/x86dasm.c'; then $(CYGPATH_W) 'x86dasm/x86dasm.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/x86dasm.c'; fi`2.223 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-xlatdasm.obj `if test -f 'xlat/xlatdasm.c'; then $(CYGPATH_W) 'xlat/xlatdasm.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xlatdasm.c'; fi`2.225 -i386-dis.o: x86dasm/i386-dis.c2.226 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT i386-dis.o -MD -MP -MF "$(DEPDIR)/i386-dis.Tpo" -c -o i386-dis.o `test -f 'x86dasm/i386-dis.c' || echo '$(srcdir)/'`x86dasm/i386-dis.c; \2.227 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/i386-dis.Tpo" "$(DEPDIR)/i386-dis.Po"; else rm -f "$(DEPDIR)/i386-dis.Tpo"; exit 1; fi2.228 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/i386-dis.c' object='i386-dis.o' libtool=no @AMDEPBACKSLASH@2.229 +test_testsh4x86-i386-dis.o: x86dasm/i386-dis.c2.230 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-i386-dis.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-i386-dis.Tpo" -c -o test_testsh4x86-i386-dis.o `test -f 'x86dasm/i386-dis.c' || echo '$(srcdir)/'`x86dasm/i386-dis.c; \2.231 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-i386-dis.Tpo" "$(DEPDIR)/test_testsh4x86-i386-dis.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-i386-dis.Tpo"; exit 1; fi2.232 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/i386-dis.c' object='test_testsh4x86-i386-dis.o' libtool=no @AMDEPBACKSLASH@2.233 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.234 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o i386-dis.o `test -f 'x86dasm/i386-dis.c' || echo '$(srcdir)/'`x86dasm/i386-dis.c2.235 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-i386-dis.o `test -f 'x86dasm/i386-dis.c' || echo '$(srcdir)/'`x86dasm/i386-dis.c2.237 -i386-dis.obj: x86dasm/i386-dis.c2.238 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT i386-dis.obj -MD -MP -MF "$(DEPDIR)/i386-dis.Tpo" -c -o i386-dis.obj `if test -f 'x86dasm/i386-dis.c'; then $(CYGPATH_W) 'x86dasm/i386-dis.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/i386-dis.c'; fi`; \2.239 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/i386-dis.Tpo" "$(DEPDIR)/i386-dis.Po"; else rm -f "$(DEPDIR)/i386-dis.Tpo"; exit 1; fi2.240 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/i386-dis.c' object='i386-dis.obj' libtool=no @AMDEPBACKSLASH@2.241 +test_testsh4x86-i386-dis.obj: x86dasm/i386-dis.c2.242 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-i386-dis.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-i386-dis.Tpo" -c -o test_testsh4x86-i386-dis.obj `if test -f 'x86dasm/i386-dis.c'; then $(CYGPATH_W) 'x86dasm/i386-dis.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/i386-dis.c'; fi`; \2.243 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-i386-dis.Tpo" "$(DEPDIR)/test_testsh4x86-i386-dis.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-i386-dis.Tpo"; exit 1; fi2.244 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/i386-dis.c' object='test_testsh4x86-i386-dis.obj' libtool=no @AMDEPBACKSLASH@2.245 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.246 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o i386-dis.obj `if test -f 'x86dasm/i386-dis.c'; then $(CYGPATH_W) 'x86dasm/i386-dis.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/i386-dis.c'; fi`2.247 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-i386-dis.obj `if test -f 'x86dasm/i386-dis.c'; then $(CYGPATH_W) 'x86dasm/i386-dis.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/i386-dis.c'; fi`2.249 -dis-init.o: x86dasm/dis-init.c2.250 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dis-init.o -MD -MP -MF "$(DEPDIR)/dis-init.Tpo" -c -o dis-init.o `test -f 'x86dasm/dis-init.c' || echo '$(srcdir)/'`x86dasm/dis-init.c; \2.251 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dis-init.Tpo" "$(DEPDIR)/dis-init.Po"; else rm -f "$(DEPDIR)/dis-init.Tpo"; exit 1; fi2.252 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-init.c' object='dis-init.o' libtool=no @AMDEPBACKSLASH@2.253 +test_testsh4x86-dis-init.o: x86dasm/dis-init.c2.254 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-dis-init.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-dis-init.Tpo" -c -o test_testsh4x86-dis-init.o `test -f 'x86dasm/dis-init.c' || echo '$(srcdir)/'`x86dasm/dis-init.c; \2.255 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-dis-init.Tpo" "$(DEPDIR)/test_testsh4x86-dis-init.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-dis-init.Tpo"; exit 1; fi2.256 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-init.c' object='test_testsh4x86-dis-init.o' libtool=no @AMDEPBACKSLASH@2.257 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.258 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dis-init.o `test -f 'x86dasm/dis-init.c' || echo '$(srcdir)/'`x86dasm/dis-init.c2.259 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-dis-init.o `test -f 'x86dasm/dis-init.c' || echo '$(srcdir)/'`x86dasm/dis-init.c2.261 -dis-init.obj: x86dasm/dis-init.c2.262 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dis-init.obj -MD -MP -MF "$(DEPDIR)/dis-init.Tpo" -c -o dis-init.obj `if test -f 'x86dasm/dis-init.c'; then $(CYGPATH_W) 'x86dasm/dis-init.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-init.c'; fi`; \2.263 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dis-init.Tpo" "$(DEPDIR)/dis-init.Po"; else rm -f "$(DEPDIR)/dis-init.Tpo"; exit 1; fi2.264 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-init.c' object='dis-init.obj' libtool=no @AMDEPBACKSLASH@2.265 +test_testsh4x86-dis-init.obj: x86dasm/dis-init.c2.266 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-dis-init.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-dis-init.Tpo" -c -o test_testsh4x86-dis-init.obj `if test -f 'x86dasm/dis-init.c'; then $(CYGPATH_W) 'x86dasm/dis-init.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-init.c'; fi`; \2.267 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-dis-init.Tpo" "$(DEPDIR)/test_testsh4x86-dis-init.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-dis-init.Tpo"; exit 1; fi2.268 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-init.c' object='test_testsh4x86-dis-init.obj' libtool=no @AMDEPBACKSLASH@2.269 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.270 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dis-init.obj `if test -f 'x86dasm/dis-init.c'; then $(CYGPATH_W) 'x86dasm/dis-init.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-init.c'; fi`2.271 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-dis-init.obj `if test -f 'x86dasm/dis-init.c'; then $(CYGPATH_W) 'x86dasm/dis-init.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-init.c'; fi`2.273 -dis-buf.o: x86dasm/dis-buf.c2.274 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dis-buf.o -MD -MP -MF "$(DEPDIR)/dis-buf.Tpo" -c -o dis-buf.o `test -f 'x86dasm/dis-buf.c' || echo '$(srcdir)/'`x86dasm/dis-buf.c; \2.275 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dis-buf.Tpo" "$(DEPDIR)/dis-buf.Po"; else rm -f "$(DEPDIR)/dis-buf.Tpo"; exit 1; fi2.276 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-buf.c' object='dis-buf.o' libtool=no @AMDEPBACKSLASH@2.277 +test_testsh4x86-dis-buf.o: x86dasm/dis-buf.c2.278 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-dis-buf.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-dis-buf.Tpo" -c -o test_testsh4x86-dis-buf.o `test -f 'x86dasm/dis-buf.c' || echo '$(srcdir)/'`x86dasm/dis-buf.c; \2.279 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-dis-buf.Tpo" "$(DEPDIR)/test_testsh4x86-dis-buf.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-dis-buf.Tpo"; exit 1; fi2.280 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-buf.c' object='test_testsh4x86-dis-buf.o' libtool=no @AMDEPBACKSLASH@2.281 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.282 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dis-buf.o `test -f 'x86dasm/dis-buf.c' || echo '$(srcdir)/'`x86dasm/dis-buf.c2.283 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-dis-buf.o `test -f 'x86dasm/dis-buf.c' || echo '$(srcdir)/'`x86dasm/dis-buf.c2.285 -dis-buf.obj: x86dasm/dis-buf.c2.286 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dis-buf.obj -MD -MP -MF "$(DEPDIR)/dis-buf.Tpo" -c -o dis-buf.obj `if test -f 'x86dasm/dis-buf.c'; then $(CYGPATH_W) 'x86dasm/dis-buf.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-buf.c'; fi`; \2.287 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dis-buf.Tpo" "$(DEPDIR)/dis-buf.Po"; else rm -f "$(DEPDIR)/dis-buf.Tpo"; exit 1; fi2.288 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-buf.c' object='dis-buf.obj' libtool=no @AMDEPBACKSLASH@2.289 +test_testsh4x86-dis-buf.obj: x86dasm/dis-buf.c2.290 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-dis-buf.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-dis-buf.Tpo" -c -o test_testsh4x86-dis-buf.obj `if test -f 'x86dasm/dis-buf.c'; then $(CYGPATH_W) 'x86dasm/dis-buf.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-buf.c'; fi`; \2.291 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-dis-buf.Tpo" "$(DEPDIR)/test_testsh4x86-dis-buf.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-dis-buf.Tpo"; exit 1; fi2.292 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86dasm/dis-buf.c' object='test_testsh4x86-dis-buf.obj' libtool=no @AMDEPBACKSLASH@2.293 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.294 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dis-buf.obj `if test -f 'x86dasm/dis-buf.c'; then $(CYGPATH_W) 'x86dasm/dis-buf.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-buf.c'; fi`2.295 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-dis-buf.obj `if test -f 'x86dasm/dis-buf.c'; then $(CYGPATH_W) 'x86dasm/dis-buf.c'; else $(CYGPATH_W) '$(srcdir)/x86dasm/dis-buf.c'; fi`2.297 -sh4trans.o: sh4/sh4trans.c2.298 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sh4trans.o -MD -MP -MF "$(DEPDIR)/sh4trans.Tpo" -c -o sh4trans.o `test -f 'sh4/sh4trans.c' || echo '$(srcdir)/'`sh4/sh4trans.c; \2.299 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sh4trans.Tpo" "$(DEPDIR)/sh4trans.Po"; else rm -f "$(DEPDIR)/sh4trans.Tpo"; exit 1; fi2.300 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4trans.c' object='sh4trans.o' libtool=no @AMDEPBACKSLASH@2.301 +test_testsh4x86-sh4trans.o: sh4/sh4trans.c2.302 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-sh4trans.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-sh4trans.Tpo" -c -o test_testsh4x86-sh4trans.o `test -f 'sh4/sh4trans.c' || echo '$(srcdir)/'`sh4/sh4trans.c; \2.303 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-sh4trans.Tpo" "$(DEPDIR)/test_testsh4x86-sh4trans.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-sh4trans.Tpo"; exit 1; fi2.304 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4trans.c' object='test_testsh4x86-sh4trans.o' libtool=no @AMDEPBACKSLASH@2.305 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.306 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sh4trans.o `test -f 'sh4/sh4trans.c' || echo '$(srcdir)/'`sh4/sh4trans.c2.307 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-sh4trans.o `test -f 'sh4/sh4trans.c' || echo '$(srcdir)/'`sh4/sh4trans.c2.309 -sh4trans.obj: sh4/sh4trans.c2.310 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sh4trans.obj -MD -MP -MF "$(DEPDIR)/sh4trans.Tpo" -c -o sh4trans.obj `if test -f 'sh4/sh4trans.c'; then $(CYGPATH_W) 'sh4/sh4trans.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4trans.c'; fi`; \2.311 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sh4trans.Tpo" "$(DEPDIR)/sh4trans.Po"; else rm -f "$(DEPDIR)/sh4trans.Tpo"; exit 1; fi2.312 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4trans.c' object='sh4trans.obj' libtool=no @AMDEPBACKSLASH@2.313 +test_testsh4x86-sh4trans.obj: sh4/sh4trans.c2.314 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-sh4trans.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-sh4trans.Tpo" -c -o test_testsh4x86-sh4trans.obj `if test -f 'sh4/sh4trans.c'; then $(CYGPATH_W) 'sh4/sh4trans.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4trans.c'; fi`; \2.315 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-sh4trans.Tpo" "$(DEPDIR)/test_testsh4x86-sh4trans.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-sh4trans.Tpo"; exit 1; fi2.316 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4trans.c' object='test_testsh4x86-sh4trans.obj' libtool=no @AMDEPBACKSLASH@2.317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.318 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sh4trans.obj `if test -f 'sh4/sh4trans.c'; then $(CYGPATH_W) 'sh4/sh4trans.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4trans.c'; fi`2.319 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-sh4trans.obj `if test -f 'sh4/sh4trans.c'; then $(CYGPATH_W) 'sh4/sh4trans.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4trans.c'; fi`2.321 -sh4x86.o: sh4/sh4x86.c2.322 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sh4x86.o -MD -MP -MF "$(DEPDIR)/sh4x86.Tpo" -c -o sh4x86.o `test -f 'sh4/sh4x86.c' || echo '$(srcdir)/'`sh4/sh4x86.c; \2.323 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sh4x86.Tpo" "$(DEPDIR)/sh4x86.Po"; else rm -f "$(DEPDIR)/sh4x86.Tpo"; exit 1; fi2.324 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4x86.c' object='sh4x86.o' libtool=no @AMDEPBACKSLASH@2.325 +test_testsh4x86-sh4x86.o: sh4/sh4x86.c2.326 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-sh4x86.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-sh4x86.Tpo" -c -o test_testsh4x86-sh4x86.o `test -f 'sh4/sh4x86.c' || echo '$(srcdir)/'`sh4/sh4x86.c; \2.327 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-sh4x86.Tpo" "$(DEPDIR)/test_testsh4x86-sh4x86.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-sh4x86.Tpo"; exit 1; fi2.328 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4x86.c' object='test_testsh4x86-sh4x86.o' libtool=no @AMDEPBACKSLASH@2.329 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.330 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sh4x86.o `test -f 'sh4/sh4x86.c' || echo '$(srcdir)/'`sh4/sh4x86.c2.331 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-sh4x86.o `test -f 'sh4/sh4x86.c' || echo '$(srcdir)/'`sh4/sh4x86.c2.333 -sh4x86.obj: sh4/sh4x86.c2.334 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sh4x86.obj -MD -MP -MF "$(DEPDIR)/sh4x86.Tpo" -c -o sh4x86.obj `if test -f 'sh4/sh4x86.c'; then $(CYGPATH_W) 'sh4/sh4x86.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4x86.c'; fi`; \2.335 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sh4x86.Tpo" "$(DEPDIR)/sh4x86.Po"; else rm -f "$(DEPDIR)/sh4x86.Tpo"; exit 1; fi2.336 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4x86.c' object='sh4x86.obj' libtool=no @AMDEPBACKSLASH@2.337 +test_testsh4x86-sh4x86.obj: sh4/sh4x86.c2.338 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-sh4x86.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-sh4x86.Tpo" -c -o test_testsh4x86-sh4x86.obj `if test -f 'sh4/sh4x86.c'; then $(CYGPATH_W) 'sh4/sh4x86.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4x86.c'; fi`; \2.339 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-sh4x86.Tpo" "$(DEPDIR)/test_testsh4x86-sh4x86.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-sh4x86.Tpo"; exit 1; fi2.340 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4x86.c' object='test_testsh4x86-sh4x86.obj' libtool=no @AMDEPBACKSLASH@2.341 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.342 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sh4x86.obj `if test -f 'sh4/sh4x86.c'; then $(CYGPATH_W) 'sh4/sh4x86.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4x86.c'; fi`2.343 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-sh4x86.obj `if test -f 'sh4/sh4x86.c'; then $(CYGPATH_W) 'sh4/sh4x86.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4x86.c'; fi`2.344 +2.345 +test_testsh4x86-xltcache.o: xlat/xltcache.c2.346 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-xltcache.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-xltcache.Tpo" -c -o test_testsh4x86-xltcache.o `test -f 'xlat/xltcache.c' || echo '$(srcdir)/'`xlat/xltcache.c; \2.347 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-xltcache.Tpo" "$(DEPDIR)/test_testsh4x86-xltcache.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-xltcache.Tpo"; exit 1; fi2.348 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlat/xltcache.c' object='test_testsh4x86-xltcache.o' libtool=no @AMDEPBACKSLASH@2.349 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.350 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-xltcache.o `test -f 'xlat/xltcache.c' || echo '$(srcdir)/'`xlat/xltcache.c2.351 +2.352 +test_testsh4x86-xltcache.obj: xlat/xltcache.c2.353 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-xltcache.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-xltcache.Tpo" -c -o test_testsh4x86-xltcache.obj `if test -f 'xlat/xltcache.c'; then $(CYGPATH_W) 'xlat/xltcache.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xltcache.c'; fi`; \2.354 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-xltcache.Tpo" "$(DEPDIR)/test_testsh4x86-xltcache.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-xltcache.Tpo"; exit 1; fi2.355 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlat/xltcache.c' object='test_testsh4x86-xltcache.obj' libtool=no @AMDEPBACKSLASH@2.356 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.357 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-xltcache.obj `if test -f 'xlat/xltcache.c'; then $(CYGPATH_W) 'xlat/xltcache.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xltcache.c'; fi`2.358 +2.359 +test_testsh4x86-sh4dasm.o: sh4/sh4dasm.c2.360 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-sh4dasm.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-sh4dasm.Tpo" -c -o test_testsh4x86-sh4dasm.o `test -f 'sh4/sh4dasm.c' || echo '$(srcdir)/'`sh4/sh4dasm.c; \2.361 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-sh4dasm.Tpo" "$(DEPDIR)/test_testsh4x86-sh4dasm.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-sh4dasm.Tpo"; exit 1; fi2.362 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4dasm.c' object='test_testsh4x86-sh4dasm.o' libtool=no @AMDEPBACKSLASH@2.363 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.364 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-sh4dasm.o `test -f 'sh4/sh4dasm.c' || echo '$(srcdir)/'`sh4/sh4dasm.c2.365 +2.366 +test_testsh4x86-sh4dasm.obj: sh4/sh4dasm.c2.367 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-sh4dasm.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-sh4dasm.Tpo" -c -o test_testsh4x86-sh4dasm.obj `if test -f 'sh4/sh4dasm.c'; then $(CYGPATH_W) 'sh4/sh4dasm.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4dasm.c'; fi`; \2.368 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-sh4dasm.Tpo" "$(DEPDIR)/test_testsh4x86-sh4dasm.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-sh4dasm.Tpo"; exit 1; fi2.369 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4dasm.c' object='test_testsh4x86-sh4dasm.obj' libtool=no @AMDEPBACKSLASH@2.370 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.371 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-sh4dasm.obj `if test -f 'sh4/sh4dasm.c'; then $(CYGPATH_W) 'sh4/sh4dasm.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4dasm.c'; fi`2.372 +2.373 +test_testsh4x86-mem.o: mem.c2.374 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-mem.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-mem.Tpo" -c -o test_testsh4x86-mem.o `test -f 'mem.c' || echo '$(srcdir)/'`mem.c; \2.375 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-mem.Tpo" "$(DEPDIR)/test_testsh4x86-mem.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-mem.Tpo"; exit 1; fi2.376 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mem.c' object='test_testsh4x86-mem.o' libtool=no @AMDEPBACKSLASH@2.377 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.378 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-mem.o `test -f 'mem.c' || echo '$(srcdir)/'`mem.c2.379 +2.380 +test_testsh4x86-mem.obj: mem.c2.381 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-mem.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-mem.Tpo" -c -o test_testsh4x86-mem.obj `if test -f 'mem.c'; then $(CYGPATH_W) 'mem.c'; else $(CYGPATH_W) '$(srcdir)/mem.c'; fi`; \2.382 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-mem.Tpo" "$(DEPDIR)/test_testsh4x86-mem.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-mem.Tpo"; exit 1; fi2.383 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mem.c' object='test_testsh4x86-mem.obj' libtool=no @AMDEPBACKSLASH@2.384 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.385 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-mem.obj `if test -f 'mem.c'; then $(CYGPATH_W) 'mem.c'; else $(CYGPATH_W) '$(srcdir)/mem.c'; fi`2.386 +2.387 +test_testsh4x86-util.o: util.c2.388 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-util.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-util.Tpo" -c -o test_testsh4x86-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c; \2.389 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-util.Tpo" "$(DEPDIR)/test_testsh4x86-util.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-util.Tpo"; exit 1; fi2.390 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='test_testsh4x86-util.o' libtool=no @AMDEPBACKSLASH@2.391 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.392 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c2.393 +2.394 +test_testsh4x86-util.obj: util.c2.395 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-util.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-util.Tpo" -c -o test_testsh4x86-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`; \2.396 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-util.Tpo" "$(DEPDIR)/test_testsh4x86-util.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-util.Tpo"; exit 1; fi2.397 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='test_testsh4x86-util.obj' libtool=no @AMDEPBACKSLASH@2.398 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.399 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`2.400 +2.401 +test_testsh4x86-cpu.o: cpu.c2.402 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-cpu.o -MD -MP -MF "$(DEPDIR)/test_testsh4x86-cpu.Tpo" -c -o test_testsh4x86-cpu.o `test -f 'cpu.c' || echo '$(srcdir)/'`cpu.c; \2.403 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-cpu.Tpo" "$(DEPDIR)/test_testsh4x86-cpu.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-cpu.Tpo"; exit 1; fi2.404 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cpu.c' object='test_testsh4x86-cpu.o' libtool=no @AMDEPBACKSLASH@2.405 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.406 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-cpu.o `test -f 'cpu.c' || echo '$(srcdir)/'`cpu.c2.407 +2.408 +test_testsh4x86-cpu.obj: cpu.c2.409 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_testsh4x86-cpu.obj -MD -MP -MF "$(DEPDIR)/test_testsh4x86-cpu.Tpo" -c -o test_testsh4x86-cpu.obj `if test -f 'cpu.c'; then $(CYGPATH_W) 'cpu.c'; else $(CYGPATH_W) '$(srcdir)/cpu.c'; fi`; \2.410 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/test_testsh4x86-cpu.Tpo" "$(DEPDIR)/test_testsh4x86-cpu.Po"; else rm -f "$(DEPDIR)/test_testsh4x86-cpu.Tpo"; exit 1; fi2.411 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cpu.c' object='test_testsh4x86-cpu.obj' libtool=no @AMDEPBACKSLASH@2.412 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.413 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_testsh4x86_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_testsh4x86-cpu.obj `if test -f 'cpu.c'; then $(CYGPATH_W) 'cpu.c'; else $(CYGPATH_W) '$(srcdir)/cpu.c'; fi`2.414 +2.415 +testxlt.o: test/testxlt.c2.416 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testxlt.o -MD -MP -MF "$(DEPDIR)/testxlt.Tpo" -c -o testxlt.o `test -f 'test/testxlt.c' || echo '$(srcdir)/'`test/testxlt.c; \2.417 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/testxlt.Tpo" "$(DEPDIR)/testxlt.Po"; else rm -f "$(DEPDIR)/testxlt.Tpo"; exit 1; fi2.418 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testxlt.c' object='testxlt.o' libtool=no @AMDEPBACKSLASH@2.419 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.420 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testxlt.o `test -f 'test/testxlt.c' || echo '$(srcdir)/'`test/testxlt.c2.421 +2.422 +testxlt.obj: test/testxlt.c2.423 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testxlt.obj -MD -MP -MF "$(DEPDIR)/testxlt.Tpo" -c -o testxlt.obj `if test -f 'test/testxlt.c'; then $(CYGPATH_W) 'test/testxlt.c'; else $(CYGPATH_W) '$(srcdir)/test/testxlt.c'; fi`; \2.424 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/testxlt.Tpo" "$(DEPDIR)/testxlt.Po"; else rm -f "$(DEPDIR)/testxlt.Tpo"; exit 1; fi2.425 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testxlt.c' object='testxlt.obj' libtool=no @AMDEPBACKSLASH@2.426 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.427 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testxlt.obj `if test -f 'test/testxlt.c'; then $(CYGPATH_W) 'test/testxlt.c'; else $(CYGPATH_W) '$(srcdir)/test/testxlt.c'; fi`2.429 xltcache.o: xlat/xltcache.c2.430 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xltcache.o -MD -MP -MF "$(DEPDIR)/xltcache.Tpo" -c -o xltcache.o `test -f 'xlat/xltcache.c' || echo '$(srcdir)/'`xlat/xltcache.c; \2.431 @@ -2736,34 +2829,6 @@2.432 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.433 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xltcache.obj `if test -f 'xlat/xltcache.c'; then $(CYGPATH_W) 'xlat/xltcache.c'; else $(CYGPATH_W) '$(srcdir)/xlat/xltcache.c'; fi`2.435 -sh4dasm.o: sh4/sh4dasm.c2.436 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sh4dasm.o -MD -MP -MF "$(DEPDIR)/sh4dasm.Tpo" -c -o sh4dasm.o `test -f 'sh4/sh4dasm.c' || echo '$(srcdir)/'`sh4/sh4dasm.c; \2.437 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sh4dasm.Tpo" "$(DEPDIR)/sh4dasm.Po"; else rm -f "$(DEPDIR)/sh4dasm.Tpo"; exit 1; fi2.438 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4dasm.c' object='sh4dasm.o' libtool=no @AMDEPBACKSLASH@2.439 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.440 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sh4dasm.o `test -f 'sh4/sh4dasm.c' || echo '$(srcdir)/'`sh4/sh4dasm.c2.441 -2.442 -sh4dasm.obj: sh4/sh4dasm.c2.443 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sh4dasm.obj -MD -MP -MF "$(DEPDIR)/sh4dasm.Tpo" -c -o sh4dasm.obj `if test -f 'sh4/sh4dasm.c'; then $(CYGPATH_W) 'sh4/sh4dasm.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4dasm.c'; fi`; \2.444 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sh4dasm.Tpo" "$(DEPDIR)/sh4dasm.Po"; else rm -f "$(DEPDIR)/sh4dasm.Tpo"; exit 1; fi2.445 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sh4/sh4dasm.c' object='sh4dasm.obj' libtool=no @AMDEPBACKSLASH@2.446 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.447 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sh4dasm.obj `if test -f 'sh4/sh4dasm.c'; then $(CYGPATH_W) 'sh4/sh4dasm.c'; else $(CYGPATH_W) '$(srcdir)/sh4/sh4dasm.c'; fi`2.448 -2.449 -testxlt.o: test/testxlt.c2.450 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testxlt.o -MD -MP -MF "$(DEPDIR)/testxlt.Tpo" -c -o testxlt.o `test -f 'test/testxlt.c' || echo '$(srcdir)/'`test/testxlt.c; \2.451 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/testxlt.Tpo" "$(DEPDIR)/testxlt.Po"; else rm -f "$(DEPDIR)/testxlt.Tpo"; exit 1; fi2.452 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testxlt.c' object='testxlt.o' libtool=no @AMDEPBACKSLASH@2.453 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.454 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testxlt.o `test -f 'test/testxlt.c' || echo '$(srcdir)/'`test/testxlt.c2.455 -2.456 -testxlt.obj: test/testxlt.c2.457 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testxlt.obj -MD -MP -MF "$(DEPDIR)/testxlt.Tpo" -c -o testxlt.obj `if test -f 'test/testxlt.c'; then $(CYGPATH_W) 'test/testxlt.c'; else $(CYGPATH_W) '$(srcdir)/test/testxlt.c'; fi`; \2.458 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/testxlt.Tpo" "$(DEPDIR)/testxlt.Po"; else rm -f "$(DEPDIR)/testxlt.Tpo"; exit 1; fi2.459 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='test/testxlt.c' object='testxlt.obj' libtool=no @AMDEPBACKSLASH@2.460 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@2.461 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testxlt.obj `if test -f 'test/testxlt.c'; then $(CYGPATH_W) 'test/testxlt.c'; else $(CYGPATH_W) '$(srcdir)/test/testxlt.c'; fi`2.462 -2.463 .m.o:2.464 @am__fastdepOBJC_TRUE@ if $(OBJCCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \2.465 @am__fastdepOBJC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
3.1 --- a/src/sh4/sh4trans.c Mon Mar 05 22:20:33 2012 +10003.2 +++ b/src/sh4/sh4trans.c Tue Mar 06 09:04:34 2012 +10003.3 @@ -24,8 +24,10 @@3.4 #include "sh4/sh4core.h"3.5 #include "sh4/sh4trans.h"3.6 #include "sh4/sh4mmio.h"3.7 +#include "sh4/sh4dasm.h"3.8 #include "sh4/mmu.h"3.9 #include "xlat/xltcache.h"3.10 +#include "xlat/xlatdasm.h"3.12 //#define SINGLESTEP 13.14 @@ -292,6 +294,83 @@3.15 sh4_translate_disasm_block( stderr, code, sh4_pc, NULL );3.16 }3.18 +3.19 +static struct xlat_symbol xlat_symbol_table[] = {3.20 + { "sh4r+128", ((char *)&sh4r)+128 },3.21 + { "sh4_cpu_period", &sh4_cpu_period },3.22 + { "sh4_address_space", NULL },3.23 + { "sh4_user_address_space", NULL },3.24 + { "sh4_translate_breakpoint_hit", sh4_translate_breakpoint_hit },3.25 + { "sh4_translate_link_block", sh4_translate_link_block },3.26 + { "sh4_write_fpscr", sh4_write_fpscr },3.27 + { "sh4_write_sr", sh4_write_sr },3.28 + { "sh4_read_sr", sh4_read_sr },3.29 + { "sh4_raise_exception", sh4_raise_exception },3.30 + { "sh4_sleep", sh4_sleep },3.31 + { "sh4_fsca", sh4_fsca },3.32 + { "sh4_ftrv", sh4_ftrv },3.33 + { "sh4_switch_fr_banks", sh4_switch_fr_banks },3.34 + { "sh4_execute_instruction", sh4_execute_instruction },3.35 + { "signsat48", signsat48 },3.36 + { "xlat_get_code_by_vma", xlat_get_code_by_vma },3.37 + { "xlat_get_code", xlat_get_code }3.38 +};3.39 +3.40 +/**3.41 + * Disassemble the given translated code block, and it's source code block3.42 + * side-by-side. The current native pc will be marked if non-null.3.43 + */3.44 +void sh4_translate_disasm_block( FILE *out, void *code, sh4addr_t source_start, void *native_pc )3.45 +{3.46 + char buf[256];3.47 + char op[256];3.48 +3.49 + xlat_symbol_table[2].ptr = sh4_address_space;3.50 + xlat_symbol_table[3].ptr = sh4_user_address_space;3.51 + xlat_disasm_init( xlat_symbol_table, sizeof(xlat_symbol_table)/sizeof(struct xlat_symbol) );3.52 +3.53 + uintptr_t target_start = (uintptr_t)code, target_pc;3.54 + uintptr_t target_end = target_start + xlat_get_code_size(code);3.55 + uint32_t source_pc = source_start;3.56 + uint32_t source_end = source_pc;3.57 + xlat_recovery_record_t source_recov_table = XLAT_RECOVERY_TABLE(code);3.58 + xlat_recovery_record_t source_recov_end = source_recov_table + XLAT_BLOCK_FOR_CODE(code)->recover_table_size - 1;3.59 +3.60 + for( target_pc = target_start; target_pc < target_end; ) {3.61 + uintptr_t pc2 = xlat_disasm_instruction( target_pc, buf, sizeof(buf), op );3.62 +#if SIZEOF_VOID_P == 83.63 + fprintf( out, "%c%016lx: %-30s %-40s", (target_pc == (uintptr_t)native_pc ? '*' : ' '),3.64 + target_pc, op, buf );3.65 +#else3.66 + fprintf( out, "%c%08lx: %-30s %-40s", (target_pc == (uintptr_t)native_pc ? '*' : ' '),3.67 + target_pc, op, buf );3.68 +#endif3.69 + if( source_recov_table < source_recov_end &&3.70 + target_pc >= (target_start + source_recov_table->xlat_offset) ) {3.71 + source_recov_table++;3.72 + if( source_end < (source_start + (source_recov_table->sh4_icount)*2) )3.73 + source_end = source_start + (source_recov_table->sh4_icount)*2;3.74 + }3.75 +3.76 + if( source_pc < source_end ) {3.77 + uint32_t source_pc2 = sh4_disasm_instruction( source_pc, buf, sizeof(buf), op );3.78 + fprintf( out, " %08X: %s %s\n", source_pc, op, buf );3.79 + source_pc = source_pc2;3.80 + } else {3.81 + fprintf( out, "\n" );3.82 + }3.83 +3.84 + target_pc = pc2;3.85 + }3.86 +3.87 + while( source_pc < source_end ) {3.88 + uint32_t source_pc2 = sh4_disasm_instruction( source_pc, buf, sizeof(buf), op );3.89 + fprintf( out, "%*c %08X: %s %s\n", 72,' ', source_pc, op, buf );3.90 + source_pc = source_pc2;3.91 + }3.92 +}3.93 +3.94 +3.95 void sh4_translate_dump_cache_by_activity( unsigned int topN )3.96 {3.97 struct xlat_block_ref blocks[topN];
4.1 --- a/src/sh4/sh4trans.h Mon Mar 05 22:20:33 2012 +10004.2 +++ b/src/sh4/sh4trans.h Tue Mar 06 09:04:34 2012 +10004.3 @@ -166,6 +166,12 @@4.4 */4.5 void sh4_translate_dump_cache_by_activity( unsigned int topN );4.7 +/**4.8 + * Translator function to retrieve the target block for the given PC,4.9 + * and replace the callsite with a direct branch to the target block.4.10 + */4.11 +void FASTCALL sh4_translate_link_block( uint32_t pc );4.12 +4.13 #ifdef __cplusplus4.14 }4.15 #endif
5.1 --- a/src/sh4/sh4x86.in Mon Mar 05 22:20:33 2012 +10005.2 +++ b/src/sh4/sh4x86.in Tue Mar 06 09:04:34 2012 +10005.3 @@ -34,7 +34,7 @@5.4 #include "sh4/mmu.h"5.5 #include "xlat/xltcache.h"5.6 #include "xlat/x86/x86op.h"5.7 -#include "x86dasm/x86dasm.h"5.8 +#include "xlat/xlatdasm.h"5.9 #include "clock.h"5.11 #define DEFAULT_BACKPATCH_SIZE 40965.12 @@ -120,30 +120,8 @@5.13 static uint32_t save_fcw; /* save value for fpu control word */5.14 static uint32_t trunc_fcw = 0x0F7F; /* fcw value for truncation mode */5.16 -static void FASTCALL sh4_translate_get_code_and_backpatch( uint32_t pc );5.17 static void sh4_x86_translate_unlink_block( void *use_list );5.19 -static struct x86_symbol x86_symbol_table[] = {5.20 - { "sh4r+128", ((char *)&sh4r)+128 },5.21 - { "sh4_cpu_period", &sh4_cpu_period },5.22 - { "sh4_address_space", NULL },5.23 - { "sh4_user_address_space", NULL },5.24 - { "sh4_translate_breakpoint_hit", sh4_translate_breakpoint_hit },5.25 - { "sh4_translate_get_code_and_backpatch", sh4_translate_get_code_and_backpatch },5.26 - { "sh4_write_fpscr", sh4_write_fpscr },5.27 - { "sh4_write_sr", sh4_write_sr },5.28 - { "sh4_read_sr", sh4_read_sr },5.29 - { "sh4_raise_exception", sh4_raise_exception },5.30 - { "sh4_sleep", sh4_sleep },5.31 - { "sh4_fsca", sh4_fsca },5.32 - { "sh4_ftrv", sh4_ftrv },5.33 - { "sh4_switch_fr_banks", sh4_switch_fr_banks },5.34 - { "sh4_execute_instruction", sh4_execute_instruction },5.35 - { "signsat48", signsat48 },5.36 - { "xlat_get_code_by_vma", xlat_get_code_by_vma },5.37 - { "xlat_get_code", xlat_get_code }5.38 -};5.39 -5.40 static struct xlat_target_fns x86_target_fns = {5.41 sh4_x86_translate_unlink_block5.42 };5.43 @@ -163,8 +141,6 @@5.44 {5.45 sh4_x86.priv_address_space = priv;5.46 sh4_x86.user_address_space = user;5.47 - x86_symbol_table[2].ptr = priv;5.48 - x86_symbol_table[3].ptr = user;5.49 }5.51 void sh4_translate_init(void)5.52 @@ -176,8 +152,6 @@5.53 sh4_translate_set_address_space( sh4_address_space, sh4_user_address_space );5.54 sh4_x86.fastmem = TRUE;5.55 sh4_x86.sse3_enabled = is_sse3_supported();5.56 - x86_disasm_init();5.57 - x86_set_symtab( x86_symbol_table, sizeof(x86_symbol_table)/sizeof(struct x86_symbol) );5.58 xlat_set_target_fns(&x86_target_fns);5.59 }5.61 @@ -192,56 +166,6 @@5.62 sh4_x86.fastmem = flag;5.63 }5.65 -/**5.66 - * Disassemble the given translated code block, and it's source SH4 code block5.67 - * side-by-side. The current native pc will be marked if non-null.5.68 - */5.69 -void sh4_translate_disasm_block( FILE *out, void *code, sh4addr_t source_start, void *native_pc )5.70 -{5.71 - char buf[256];5.72 - char op[256];5.73 -5.74 - uintptr_t target_start = (uintptr_t)code, target_pc;5.75 - uintptr_t target_end = target_start + xlat_get_code_size(code);5.76 - uint32_t source_pc = source_start;5.77 - uint32_t source_end = source_pc;5.78 - xlat_recovery_record_t source_recov_table = XLAT_RECOVERY_TABLE(code);5.79 - xlat_recovery_record_t source_recov_end = source_recov_table + XLAT_BLOCK_FOR_CODE(code)->recover_table_size - 1;5.80 -5.81 - for( target_pc = target_start; target_pc < target_end; ) {5.82 - uintptr_t pc2 = x86_disasm_instruction( target_pc, buf, sizeof(buf), op );5.83 -#if SIZEOF_VOID_P == 85.84 - fprintf( out, "%c%016lx: %-30s %-40s", (target_pc == (uintptr_t)native_pc ? '*' : ' '),5.85 - target_pc, op, buf );5.86 -#else5.87 - fprintf( out, "%c%08lx: %-30s %-40s", (target_pc == (uintptr_t)native_pc ? '*' : ' '),5.88 - target_pc, op, buf );5.89 -#endif5.90 - if( source_recov_table < source_recov_end &&5.91 - target_pc >= (target_start + source_recov_table->xlat_offset) ) {5.92 - source_recov_table++;5.93 - if( source_end < (source_start + (source_recov_table->sh4_icount)*2) )5.94 - source_end = source_start + (source_recov_table->sh4_icount)*2;5.95 - }5.96 -5.97 - if( source_pc < source_end ) {5.98 - uint32_t source_pc2 = sh4_disasm_instruction( source_pc, buf, sizeof(buf), op );5.99 - fprintf( out, " %08X: %s %s\n", source_pc, op, buf );5.100 - source_pc = source_pc2;5.101 - } else {5.102 - fprintf( out, "\n" );5.103 - }5.104 -5.105 - target_pc = pc2;5.106 - }5.107 -5.108 - while( source_pc < source_end ) {5.109 - uint32_t source_pc2 = sh4_disasm_instruction( source_pc, buf, sizeof(buf), op );5.110 - fprintf( out, "%*c %08X: %s %s\n", 72,' ', source_pc, op, buf );5.111 - source_pc = source_pc2;5.112 - }5.113 -}5.114 -5.115 static void sh4_x86_add_backpatch( uint8_t *fixup_addr, uint32_t fixup_pc, uint32_t exc_code )5.116 {5.117 int reloc_size = 4;5.118 @@ -583,7 +507,7 @@5.119 /**5.120 *5.121 */5.122 -static void FASTCALL sh4_translate_get_code_and_backpatch( uint32_t pc )5.123 +void FASTCALL sh4_translate_link_block( uint32_t pc )5.124 {5.125 uint8_t *target = (uint8_t *)xlat_get_code_by_vma(pc);5.126 while( target != NULL && sh4r.xlat_sh4_mode != XLAT_BLOCK_MODE(target) ) {5.127 @@ -606,7 +530,7 @@5.128 static void emit_translate_and_backpatch()5.129 {5.130 /* NB: this is either 7 bytes (i386) or 12 bytes (x86-64) */5.131 - CALL1_ptr_r32(sh4_translate_get_code_and_backpatch, REG_ARG1);5.132 + CALL1_ptr_r32(sh4_translate_link_block, REG_ARG1);5.134 /* When patched, the jmp instruction will be 5 bytes (either platform) -5.135 * we need to reserve sizeof(void*) bytes for the use-list
6.1 --- a/src/test/testsh4x86.c Mon Mar 05 22:20:33 2012 +10006.2 +++ b/src/test/testsh4x86.c Tue Mar 06 09:04:34 2012 +10006.3 @@ -24,7 +24,7 @@6.4 #include <sys/stat.h>6.5 #include <string.h>6.7 -#include "x86dasm/x86dasm.h"6.8 +#include "xlat/xlatdasm.h"6.9 #include "sh4/sh4trans.h"6.10 #include "sh4/sh4core.h"6.11 #include "sh4/sh4mmio.h"6.12 @@ -35,6 +35,7 @@6.13 struct mmio_region mmio_region_PMM;6.14 struct breakpoint_struct sh4_breakpoints[MAX_BREAKPOINTS];6.15 int sh4_breakpoint_count = 0;6.16 +gboolean sh4_profile_blocks = FALSE;6.18 #define MAX_INS_SIZE 326.20 @@ -56,7 +57,7 @@6.22 char *inbuf;6.24 -struct x86_symbol local_symbols[] = {6.25 +struct xlat_symbol local_symbols[] = {6.26 { "sh4r+128", ((char *)&sh4r)+128 },6.27 { "sh4_cpu_period", &sh4_cpu_period },6.28 { "sh4_address_space", (void *)0x12345432 },6.29 @@ -192,12 +193,11 @@6.30 uintptr_t pc;6.31 uint8_t *buf = sh4_translate_basic_block( start_addr );6.32 uint32_t buflen = xlat_get_code_size(buf);6.33 - x86_disasm_init( buf, (uintptr_t)buf, buflen );6.34 - x86_set_symtab( local_symbols, sizeof(local_symbols)/sizeof(struct x86_symbol) );6.35 + xlat_disasm_init( local_symbols, sizeof(local_symbols)/sizeof(struct xlat_symbol) );6.36 for( pc = (uintptr_t)buf; pc < ((uintptr_t)buf) + buflen; ) {6.37 char buf[256];6.38 char op[256];6.39 - uintptr_t pc2 = x86_disasm_instruction( pc, buf, sizeof(buf), op );6.40 + uintptr_t pc2 = xlat_disasm_instruction( pc, buf, sizeof(buf), op );6.41 fprintf( stdout, "%p: %s\n", (void *)pc, buf );6.42 pc = pc2;6.43 }
7.1 --- a/src/x86dasm/i386-dis.c Mon Mar 05 22:20:33 2012 +10007.2 +++ b/src/x86dasm/i386-dis.c Tue Mar 06 09:04:34 2012 +10007.3 @@ -33,7 +33,7 @@7.5 #include "x86dasm/dis-asm.h"7.6 #include "x86dasm/sysdep.h"7.7 -#include "x86dasm/x86dasm.h"7.8 +#include "xlat/xlatdasm.h"7.9 #include "gettext.h"7.11 #define MAXLEN 207.12 @@ -3175,7 +3175,7 @@7.13 if (!intel_syntax)7.14 if (mod != 0 || (base & 7) == 5)7.15 {7.16 - x86_print_symbolic_operand (scratchbuf, !riprel, disp);7.17 + xlat_print_symbolic_operand (scratchbuf, !riprel, disp);7.18 oappend (scratchbuf);7.19 if (riprel)7.20 {7.21 @@ -3281,7 +3281,7 @@7.22 *obufp = '\0';7.23 }7.25 - x86_print_symbolic_operand (scratchbuf, 0, disp);7.26 + xlat_print_symbolic_operand (scratchbuf, 0, disp);7.27 oappend (scratchbuf);7.28 }7.29 }7.30 @@ -3301,7 +3301,7 @@7.31 oappend (names_seg[ds_reg - es_reg]);7.32 oappend (":");7.33 }7.34 - x86_print_symbolic_operand (scratchbuf, 1, disp);7.35 + xlat_print_symbolic_operand (scratchbuf, 1, disp);7.36 oappend (scratchbuf);7.37 }7.38 }7.39 @@ -3334,7 +3334,7 @@7.40 if (!intel_syntax)7.41 if (mod != 0 || (rm & 7) == 6)7.42 {7.43 - x86_print_symbolic_operand (scratchbuf, 0, disp);7.44 + xlat_print_symbolic_operand (scratchbuf, 0, disp);7.45 oappend (scratchbuf);7.46 }7.48 @@ -3632,7 +3632,7 @@7.50 op &= mask;7.51 scratchbuf[0] = '$';7.52 - x86_print_symbolic_operand (scratchbuf + 1, 1, op);7.53 + xlat_print_symbolic_operand (scratchbuf + 1, 1, op);7.54 oappend (scratchbuf + intel_syntax);7.55 scratchbuf[0] = '\0';7.56 }7.57 @@ -3683,7 +3683,7 @@7.59 op &= mask;7.60 scratchbuf[0] = '$';7.61 - x86_print_symbolic_operand (scratchbuf + 1, 1, op);7.62 + xlat_print_symbolic_operand (scratchbuf + 1, 1, op);7.63 oappend (scratchbuf + intel_syntax);7.64 scratchbuf[0] = '\0';7.65 }7.66 @@ -3733,7 +3733,7 @@7.67 }7.69 scratchbuf[0] = '$';7.70 - x86_print_symbolic_operand (scratchbuf + 1, 1, op);7.71 + xlat_print_symbolic_operand (scratchbuf + 1, 1, op);7.72 oappend (scratchbuf + intel_syntax);7.73 }7.75 @@ -3769,7 +3769,7 @@7.76 }7.77 disp = (start_pc + codep - start_codep + disp) & mask;7.78 set_op (disp, 0);7.79 - x86_print_symbolic_operand (scratchbuf, 1, disp);7.80 + xlat_print_symbolic_operand (scratchbuf, 1, disp);7.81 oappend (scratchbuf);7.82 }7.84 @@ -3823,7 +3823,7 @@7.85 oappend (":");7.86 }7.87 }7.88 - x86_print_symbolic_operand (scratchbuf, 1, off);7.89 + xlat_print_symbolic_operand (scratchbuf, 1, off);7.90 oappend (scratchbuf);7.91 }7.93 @@ -3851,7 +3851,7 @@7.94 oappend (":");7.95 }7.96 }7.97 - x86_print_symbolic_operand (scratchbuf, 1, off);7.98 + xlat_print_symbolic_operand (scratchbuf, 1, off);7.99 oappend (scratchbuf);7.100 }
8.1 --- a/src/x86dasm/x86dasm.c Mon Mar 05 22:20:33 2012 +10008.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +00008.3 @@ -1,149 +0,0 @@8.4 -/**8.5 - * $Id$8.6 - *8.7 - * Wrapper around i386-dis to supply the same behaviour as the other8.8 - * disassembly functions.8.9 - *8.10 - * Copyright (c) 2005 Nathan Keynes.8.11 - *8.12 - * This program is free software; you can redistribute it and/or modify8.13 - * it under the terms of the GNU General Public License as published by8.14 - * the Free Software Foundation; either version 2 of the License, or8.15 - * (at your option) any later version.8.16 - *8.17 - * This program is distributed in the hope that it will be useful,8.18 - * but WITHOUT ANY WARRANTY; without even the implied warranty of8.19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the8.20 - * GNU General Public License for more details.8.21 - */8.22 -8.23 -#include <stdarg.h>8.24 -#include <string.h>8.25 -#include "x86dasm/x86dasm.h"8.26 -#include "x86dasm/bfd.h"8.27 -#include "x86dasm/dis-asm.h"8.28 -#include "sh4/sh4.h"8.29 -#include "sh4/sh4trans.h"8.30 -8.31 -const struct cpu_desc_struct x86_cpu_desc =8.32 - { "x86", (disasm_func_t)x86_disasm_instruction, NULL, mem_has_page,8.33 - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1,8.34 - NULL, 0, NULL, 0, 0,8.35 - &sh4r.pc };8.36 -8.37 -static int x86_disasm_output( void *data, const char *format, ... );8.38 -static void x86_print_address( bfd_vma memaddr, struct disassemble_info *info );8.39 -8.40 -static struct disassemble_info x86_disasm_info;8.41 -8.42 -static x86_symbol *x86_symtab;8.43 -static int x86_num_symbols = 0;8.44 -8.45 -void xlat_dump_block( void *block )8.46 -{8.47 - xlat_disasm_block( stderr, block );8.48 -}8.49 -8.50 -void xlat_disasm_block( FILE *out, void *block )8.51 -{8.52 - uint32_t buflen = xlat_get_code_size(block);8.53 - x86_set_symtab( NULL, 0 );8.54 - x86_disasm_block( out, block, buflen );8.55 -}8.56 -8.57 -void x86_disasm_block(FILE *out, void *start, uint32_t len)8.58 -{8.59 - uintptr_t start_addr = (uintptr_t)start;8.60 - uintptr_t pc;8.61 - x86_disasm_init( start, start_addr, len );8.62 - for( pc = start_addr; pc < start_addr + len; ) {8.63 - char buf[256];8.64 - char op[256];8.65 - uintptr_t pc2 = x86_disasm_instruction( pc, buf, sizeof(buf), op );8.66 - fprintf( out, "%08X: %-20s %s\n", (unsigned int)pc, op, buf );8.67 - pc = pc2;8.68 - }8.69 -}8.70 -8.71 -void x86_disasm_init()8.72 -{8.73 - init_disassemble_info( &x86_disasm_info, NULL, x86_disasm_output );8.74 - x86_disasm_info.arch = bfd_arch_i386;8.75 -#if SIZEOF_VOID_P == 88.76 - x86_disasm_info.mach = bfd_mach_x86_64_intel_syntax;8.77 -#else8.78 - x86_disasm_info.mach = bfd_mach_i386_i386_intel_syntax;8.79 -#endif8.80 - x86_disasm_info.endian = BFD_ENDIAN_LITTLE;8.81 - x86_disasm_info.buffer = 0;8.82 - x86_disasm_info.print_address_func = x86_print_address;8.83 -}8.84 -8.85 -void x86_set_symtab( x86_symbol *symtab, int num_symbols )8.86 -{8.87 - x86_symtab = symtab;8.88 - x86_num_symbols = num_symbols;8.89 -}8.90 -8.91 -static const char *x86_find_symbol( bfd_vma memaddr, struct disassemble_info *info )8.92 -{8.93 - int i;8.94 - for( i=0; i<x86_num_symbols; i++ ) {8.95 - if( x86_symtab[i].ptr == (void *)(uintptr_t)memaddr ) {8.96 - return x86_symtab[i].name;8.97 - }8.98 - }8.99 - return NULL;8.100 -}8.101 -8.102 -static void x86_print_address( bfd_vma memaddr, struct disassemble_info *info )8.103 -{8.104 - const char *sym = x86_find_symbol(memaddr, info);8.105 - info->fprintf_func( info->stream, "%08X", memaddr );8.106 - if( sym != NULL ) {8.107 - info->fprintf_func( info->stream, " <%s>", sym );8.108 - }8.109 -}8.110 -8.111 -void x86_print_symbolic_operand( char *buf, int hex, uintptr_t disp )8.112 -{8.113 - const char *sym = x86_find_symbol(disp, NULL);8.114 - if( sym != NULL ) {8.115 - snprintf( buf, 50, "<%s>", sym );8.116 - } else if( hex ) {8.117 - sprintf( buf, "0x%x", disp );8.118 - } else {8.119 - sprintf( buf, "%d", (int)disp );8.120 - }8.121 -}8.122 -8.123 -uintptr_t x86_disasm_instruction( uintptr_t pc, char *buf, int len, char *opcode )8.124 -{8.125 - int count, i;8.126 -8.127 - x86_disasm_info.stream = buf;8.128 - buf[0] = 0;8.129 - count = print_insn_i386_att( pc, &x86_disasm_info );8.130 - if( count != 0 ) {8.131 - unsigned char tmp[count];8.132 - x86_disasm_info.read_memory_func( pc, tmp, count, &x86_disasm_info );8.133 - for( i=0; i<count; i++ ) {8.134 - sprintf( opcode, "%02X ", ((unsigned int)tmp[i])&0xFF );8.135 - opcode += 3;8.136 - }8.137 - *(opcode-1) = '\0';8.138 - }8.139 - return pc + count;8.140 -}8.141 -8.142 -int x86_disasm_output( void *data, const char *format, ... )8.143 -{8.144 - char *p = (char *)data;8.145 - va_list ap;8.146 - int n;8.147 - p += strlen(p);8.148 - va_start( ap, format );8.149 - n = vsprintf( p, format, ap );8.150 - va_end( ap );8.151 - return n;8.152 -}
9.1 --- a/src/x86dasm/x86dasm.h Mon Mar 05 22:20:33 2012 +10009.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +00009.3 @@ -1,34 +0,0 @@9.4 -/**9.5 - * $Id$9.6 - *9.7 - * Wrapper around i386-dis to supply the same behaviour as the other9.8 - * disassembly functions.9.9 - *9.10 - * Copyright (c) 2005 Nathan Keynes.9.11 - *9.12 - * This program is free software; you can redistribute it and/or modify9.13 - * it under the terms of the GNU General Public License as published by9.14 - * the Free Software Foundation; either version 2 of the License, or9.15 - * (at your option) any later version.9.16 - *9.17 - * This program is distributed in the hope that it will be useful,9.18 - * but WITHOUT ANY WARRANTY; without even the implied warranty of9.19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9.20 - * GNU General Public License for more details.9.21 - */9.22 -9.23 -#include <stdio.h>9.24 -#include "cpu.h"9.25 -#include "mem.h"9.26 -extern const struct cpu_desc_struct x86_cpu_desc;9.27 -9.28 -typedef struct x86_symbol {9.29 - const char *name;9.30 - void *ptr;9.31 -} x86_symbol;9.32 -9.33 -void x86_disasm_block( FILE *out, void *block, uint32_t len );9.34 -void x86_set_symtab( x86_symbol *symtab, int num_symbols );9.35 -void x86_disasm_init();9.36 -uintptr_t x86_disasm_instruction( uintptr_t pc, char *buf, int len, char *opcode );9.37 -void x86_print_symbolic_operand( char *buf, int hex, uintptr_t disp );
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +000010.2 +++ b/src/xlat/xlatdasm.c Tue Mar 06 09:04:34 2012 +100010.3 @@ -0,0 +1,155 @@10.4 +/**10.5 + * $Id$10.6 + *10.7 + * Wrapper around i386-dis to supply the same behaviour as the other10.8 + * disassembly functions.10.9 + *10.10 + * Copyright (c) 2005 Nathan Keynes.10.11 + *10.12 + * This program is free software; you can redistribute it and/or modify10.13 + * it under the terms of the GNU General Public License as published by10.14 + * the Free Software Foundation; either version 2 of the License, or10.15 + * (at your option) any later version.10.16 + *10.17 + * This program is distributed in the hope that it will be useful,10.18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of10.19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the10.20 + * GNU General Public License for more details.10.21 + */10.22 +10.23 +#include <stdarg.h>10.24 +#include <string.h>10.25 +#include "xlat/xltcache.h"10.26 +#include "xlat/xlatdasm.h"10.27 +#include "x86dasm/bfd.h"10.28 +#include "x86dasm/dis-asm.h"10.29 +#include "sh4/sh4.h"10.30 +10.31 +#if defined(__i386__)10.32 +#define HOST_CPU_NAME "x86"10.33 +#define HOST_PRINT print_insn_i386_att10.34 +#define HOST_SYNTAX bfd_mach_i386_i386_intel_syntax10.35 +#elif defined(__x86_64__) || defined(__amd64__)10.36 +#define HOST_CPU_NAME "x86"10.37 +#define HOST_PRINT print_insn_i386_att10.38 +#define HOST_SYNTAX bfd_mach_x86_64_intel_syntax10.39 +#elif defined(__arm__)10.40 +#define HOST_CPU_NAME "arm"10.41 +#define HOST_PRINT print_insn_little_arm10.42 +#define HOST_SYNTAX bfd_mach_arm_unknown10.43 +#else10.44 +#error Unidentified host platform10.45 +#endif10.46 +10.47 +const struct cpu_desc_struct xlat_cpu_desc =10.48 + { HOST_CPU_NAME, (disasm_func_t)xlat_disasm_instruction, NULL, mem_has_page,10.49 + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1,10.50 + NULL, 0, NULL, 0, 0,10.51 + &sh4r.pc };10.52 +10.53 +static int xlat_disasm_output( void *data, const char *format, ... );10.54 +static void xlat_print_address( bfd_vma memaddr, struct disassemble_info *info );10.55 +10.56 +static struct disassemble_info xlat_disasm_info;10.57 +10.58 +static xlat_symbol *xlat_symtab;10.59 +static int xlat_num_symbols = 0;10.60 +10.61 +void xlat_dump_block( void *block )10.62 +{10.63 + xlat_disasm_block( stderr, block );10.64 +}10.65 +10.66 +void xlat_disasm_block( FILE *out, void *block )10.67 +{10.68 + uint32_t buflen = xlat_get_code_size(block);10.69 + xlat_disasm_region( out, block, buflen );10.70 +}10.71 +10.72 +void xlat_disasm_region(FILE *out, void *start, uint32_t len)10.73 +{10.74 + uintptr_t start_addr = (uintptr_t)start;10.75 + uintptr_t pc;10.76 + for( pc = start_addr; pc < start_addr + len; ) {10.77 + char buf[256];10.78 + char op[256];10.79 + uintptr_t pc2 = xlat_disasm_instruction( pc, buf, sizeof(buf), op );10.80 + fprintf( out, "%08X: %-20s %s\n", (unsigned int)pc, op, buf );10.81 + pc = pc2;10.82 + }10.83 +}10.84 +10.85 +void xlat_disasm_init( xlat_symbol *symtab, int num_symbols )10.86 +{10.87 + init_disassemble_info( &xlat_disasm_info, NULL, xlat_disasm_output );10.88 + xlat_disasm_info.arch = bfd_arch_i386;10.89 + xlat_disasm_info.mach = HOST_SYNTAX;10.90 + xlat_disasm_info.endian = BFD_ENDIAN_LITTLE;10.91 + xlat_disasm_info.buffer = 0;10.92 + xlat_disasm_info.print_address_func = xlat_print_address;10.93 + xlat_symtab = symtab;10.94 + xlat_num_symbols = num_symbols;10.95 +}10.96 +10.97 +static const char *xlat_find_symbol( bfd_vma memaddr, struct disassemble_info *info )10.98 +{10.99 + int i;10.100 + for( i=0; i<xlat_num_symbols; i++ ) {10.101 + if( xlat_symtab[i].ptr == (void *)(uintptr_t)memaddr ) {10.102 + return xlat_symtab[i].name;10.103 + }10.104 + }10.105 + return NULL;10.106 +}10.107 +10.108 +static void xlat_print_address( bfd_vma memaddr, struct disassemble_info *info )10.109 +{10.110 + const char *sym = xlat_find_symbol(memaddr, info);10.111 + info->fprintf_func( info->stream, "%08X", memaddr );10.112 + if( sym != NULL ) {10.113 + info->fprintf_func( info->stream, " <%s>", sym );10.114 + }10.115 +}10.116 +10.117 +void xlat_print_symbolic_operand( char *buf, int hex, uintptr_t disp )10.118 +{10.119 + const char *sym = xlat_find_symbol(disp, NULL);10.120 + if( sym != NULL ) {10.121 + snprintf( buf, 50, "<%s>", sym );10.122 + } else if( hex ) {10.123 + sprintf( buf, "0x%lx", disp );10.124 + } else {10.125 + sprintf( buf, "%d", (int)disp );10.126 + }10.127 +}10.128 +10.129 +uintptr_t xlat_disasm_instruction( uintptr_t pc, char *buf, int len, char *opcode )10.130 +{10.131 + int count, i;10.132 +10.133 + xlat_disasm_info.stream = buf;10.134 + buf[0] = 0;10.135 + count = HOST_PRINT( pc, &xlat_disasm_info );10.136 + if( count != 0 ) {10.137 + unsigned char tmp[count];10.138 + xlat_disasm_info.read_memory_func( pc, tmp, count, &xlat_disasm_info );10.139 + for( i=0; i<count; i++ ) {10.140 + sprintf( opcode, "%02X ", ((unsigned int)tmp[i])&0xFF );10.141 + opcode += 3;10.142 + }10.143 + *(opcode-1) = '\0';10.144 + }10.145 + return pc + count;10.146 +}10.147 +10.148 +static int xlat_disasm_output( void *data, const char *format, ... )10.149 +{10.150 + char *p = (char *)data;10.151 + va_list ap;10.152 + int n;10.153 + p += strlen(p);10.154 + va_start( ap, format );10.155 + n = vsprintf( p, format, ap );10.156 + va_end( ap );10.157 + return n;10.158 +}
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +000011.2 +++ b/src/xlat/xlatdasm.h Tue Mar 06 09:04:34 2012 +100011.3 @@ -0,0 +1,55 @@11.4 +/**11.5 + * $Id$11.6 + *11.7 + * Wrapper around i386-dis to supply the same behaviour as the other11.8 + * disassembly functions.11.9 + *11.10 + * Copyright (c) 2005 Nathan Keynes.11.11 + *11.12 + * This program is free software; you can redistribute it and/or modify11.13 + * it under the terms of the GNU General Public License as published by11.14 + * the Free Software Foundation; either version 2 of the License, or11.15 + * (at your option) any later version.11.16 + *11.17 + * This program is distributed in the hope that it will be useful,11.18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of11.19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11.20 + * GNU General Public License for more details.11.21 + */11.22 +11.23 +#include <stdio.h>11.24 +#include "cpu.h"11.25 +#include "mem.h"11.26 +extern const struct cpu_desc_struct xlat_cpu_desc;11.27 +11.28 +typedef struct xlat_symbol {11.29 + const char *name;11.30 + void *ptr;11.31 +} xlat_symbol;11.32 +11.33 +11.34 +11.35 +/**11.36 + * Dump the disassembly of the specified code block to a stream11.37 + * (primarily for debugging purposes)11.38 + * @param out The stream to write the output to11.39 + * @param code a translated block11.40 + */11.41 +void xlat_disasm_block( FILE *out, void *code );11.42 +11.43 +/**11.44 + * Disassemble one host instruction11.45 + * @param pc Instruction to disassemble11.46 + * @param buf buffer to hold the disassembled instruction11.47 + * @param len sizeof buf11.48 + * @param opcode buffer to hold the raw opcodes for the instruction (must be at least11.49 + * 3 * maximum number of instruction bytes)11.50 + * @return next pc after the current instruction11.51 + */11.52 +uintptr_t xlat_disasm_instruction( uintptr_t pc, char *buf, int len, char *opcode );11.53 +11.54 +void xlat_disasm_region( FILE *out, void *block, uint32_t len );11.55 +void xlat_disasm_init( xlat_symbol *symtab, int num_symbols );11.56 +uintptr_t xlat_disasm_instruction( uintptr_t pc, char *buf, int len, char *opcode );11.57 +11.58 +void xlat_print_symbolic_operand( char *buf, int hex, uintptr_t disp );
12.1 --- a/src/xlat/xltcache.c Mon Mar 05 22:20:33 2012 +100012.2 +++ b/src/xlat/xltcache.c Tue Mar 06 09:04:34 2012 +100012.3 @@ -24,7 +24,6 @@12.4 #include "sh4/sh4core.h"12.5 #include "sh4/sh4trans.h"12.6 #include "xlat/xltcache.h"12.7 -#include "x86dasm/x86dasm.h"12.9 #define XLAT_LUT_PAGE_BITS 1212.10 #define XLAT_LUT_TOTAL_BITS 28
13.1 --- a/src/xlat/xltcache.h Mon Mar 05 22:20:33 2012 +100013.2 +++ b/src/xlat/xltcache.h Tue Mar 06 09:04:34 2012 +100013.3 @@ -94,15 +94,6 @@13.4 void xlat_commit_block( uint32_t destsize, sh4addr_t startpc, sh4addr_t endpc );13.6 /**13.7 - * Dump the disassembly of the specified code block to a stream13.8 - * (primarily for debugging purposes)13.9 - * @param out The stream to write the output to13.10 - * @param code a translated block13.11 - */13.12 -void xlat_disasm_block( FILE *out, void *code );13.13 -13.14 -13.15 -/**13.16 * Delete (deactivate) the specified block from the cache. Caller is responsible13.17 * for ensuring that there really is a block there.13.18 */
.