From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8090 invoked by alias); 31 Jul 2007 12:49:23 -0000 Received: (qmail 8082 invoked by uid 22791); 31 Jul 2007 12:49:22 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jul 2007 12:49:21 +0000 Received: from zps36.corp.google.com (zps36.corp.google.com [172.25.146.36]) by smtp-out.google.com with ESMTP id l6VCn64r025700; Tue, 31 Jul 2007 05:49:07 -0700 Received: from dhcp-172-29-27-107.tor.corp.google.com (dhcp-172-29-27-107.tor.corp.google.com [172.29.27.107]) by zps36.corp.google.com with ESMTP id l6VCmqHw023306; Tue, 31 Jul 2007 05:48:54 -0700 Message-ID: <46AF26C9.7030806@google.com> Date: Tue, 31 Jul 2007 12:51:00 -0000 From: Diego Novillo User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: Zdenek Dvorak CC: gcc-patches@gcc.gnu.org Subject: Re: [patch] Changes in params for cache sizes References: <20070523091352.GA31024@kam.mff.cuni.cz> <20070602080757.GA1887@kam.mff.cuni.cz> In-Reply-To: <20070602080757.GA1887@kam.mff.cuni.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02172.txt.bz2 On 6/2/07 4:07 AM, Zdenek Dvorak wrote: > * doc/invoke.texi (l1-cache-size): Update documentation. > (l2-cache-size): Document. > * params.h (L2_CACHE_SIZE): New macro. > * tree-ssa-loop-prefetch.c (L1_CACHE_SIZE_BYTES): Reflect > that L1_CACHE_SIZE is in kB now. > (L2_CACHE_SIZE_BYTES): New macro. > (tree_ssa_prefetch_arrays): Show size in kb. > * config/i386/i386.h (struct processor_costs): Add l1_cache_size > and l2_cache_size fields. > * config/i386/driver-i386.c (describe_cache): Detect cache size > in kB. > * config/i386/i386.c (size_cost, i386_cost, i486_cost,pentium_cost, > pentiumpro_cost, geode_cost, k6_cost, athlon_cost, k8_cost, > amdfam10_cost, pentium4_cost, nocona_cost, core2_cost, > generic64_cost, generic32_cost): Add l1_cache_size and l2_cache_size. > (override_options): Set l1-cache-size and l2-cache-size to default > values if not specified otherwise. > * params.def (PARAM_L1_CACHE_SIZE): Change to set in kB. > (PARAM_L2_CACHE_SIZE): New. OK.