filename | configure |
changeset | 913:edc494bde24b |
prev | 909:b4a21af8ce8c |
next | 924:195577c0445c |
author | nkeynes |
date | Thu Dec 11 23:26:03 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Disable the generational translation cache - I've got no evidence that it actually helps performance, and it simplifies things to get rid of it (in particular, translated code doesn't have to worry about being moved now). |
file | annotate | diff | log | raw |
1.1 --- a/configure Thu Oct 30 23:56:59 2008 +00001.2 +++ b/configure Thu Dec 11 23:26:03 2008 +00001.3 @@ -1474,7 +1474,7 @@1.4 --disable-translator Disable the SH4 translator (Enabled by default)1.5 --disable-optimized Disable compile-time optimizations (Enabled by1.6 default)1.7 - --enable-profiled Enable profiling build (implies disable-optimized)1.8 + --enable-profiled Enable profiling build1.9 --enable-trace Enable generation of IO traces (warning: hurts1.10 performance)1.11 --enable-watch Enable watchpoints in the debugger (warning: hurts1.12 @@ -6647,23 +6647,28 @@1.16 +if test "x$enable_optimized" = "xyes"; then1.17 + CFLAGS="-g -O2 -msse2 -mfpmath=sse"1.18 + if test "x$enable_profiled" != "xyes"; then1.19 + CFLAGS="$CFLAGS -fexceptions -fomit-frame-pointer"1.20 +1.21 +cat >>confdefs.h <<\_ACEOF1.22 +#define HAVE_EXCEPTIONS 11.23 +_ACEOF1.24 +1.25 + fi1.26 +1.27 +cat >>confdefs.h <<\_ACEOF1.28 +#define HAVE_FASTCALL 11.29 +_ACEOF1.30 +1.31 +else1.32 + CFLAGS="-g3"1.33 +fi1.34 +1.35 if test "x$enable_profiled" = "xyes"; then1.36 - CFLAGS="-g -pg -fprofile-arcs"1.37 + CFLAGS="$CFLAGS -pg"1.38 LDFLAGS="$LDFLAGS -pg";1.39 -elif test "x$enable_optimized" = "xyes"; then1.40 - CFLAGS="-g -O2 -fexceptions -fomit-frame-pointer"1.41 -1.42 -cat >>confdefs.h <<\_ACEOF1.43 -#define HAVE_EXCEPTIONS 11.44 -_ACEOF1.45 -1.46 -1.47 -cat >>confdefs.h <<\_ACEOF1.48 -#define HAVE_FASTCALL 11.49 -_ACEOF1.50 -1.51 -else1.52 - CFLAGS="-g3"1.53 fi1.55 if test "x$GCC" = "xyes"; then
.