On amd64, use default cache sizes for now, rather than bombing out
completely.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3442 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/cachegrind/amd64/cg_arch.c b/cachegrind/amd64/cg_arch.c
index 9a1967e..9617ed8 100644
--- a/cachegrind/amd64/cg_arch.c
+++ b/cachegrind/amd64/cg_arch.c
@@ -335,8 +335,17 @@
 void VGA_(configure_caches)(cache_t* I1c, cache_t* D1c, cache_t* L2c,
                             Bool all_caches_clo_defined)
 {
-   VG_(printf)("VGA_(configure_caches)() not yet implemented for AMD64\n");
-   VG_(exit)(1);
+   // Set caches to default.
+   *I1c = (cache_t) {  65536, 2, 64 };
+   *D1c = (cache_t) {  65536, 2, 64 };
+   *L2c = (cache_t) { 524288, 8, 64 };
+
+   if (1) {
+      VG_(message)(Vg_DebugMsg, 
+                   "Warning: Couldn't auto-detect cache config, using one "
+                   "or more defaults ");
+   }
+
 #if 0
    Int res;