From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5460 invoked by alias); 23 Aug 2005 08:48:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 5284 invoked by uid 22791); 23 Aug 2005 08:48:39 -0000 Received: from smtp0.libero.it (HELO smtp0.libero.it) (193.70.192.33) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 23 Aug 2005 08:48:39 +0000 Received: from localhost (172.16.1.80) by smtp0.libero.it (7.0.027-DD01) id 42E0A0E7004548BB; Tue, 23 Aug 2005 10:48:36 +0200 Received: from bagio (151.42.78.35) by smtp0.libero.it (7.0.027-DD01) id 42F2CB8C003E766F; Tue, 23 Aug 2005 10:48:36 +0200 Received: from 127.0.0.1 (AVG SMTP 7.0.338 [267.10.14]); Tue, 23 Aug 2005 10:48:35 +0200 Message-ID: <06dc01c5a7bf$72774b60$234e2a97@bagio> From: "Giovanni Bajo" To: "Christophe Jaillet" Cc: References: <001101c5a768$d817c140$96cefea9@none> Subject: Re: Memory usage reduction in loop.c ? Date: Tue, 23 Aug 2005 09:07:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2005-08/txt/msg00616.txt.bz2 Christophe Jaillet wrote: > I think that the structure 'struct loop_info' in loop.c could be > shrinked a bit if all the 'int has_XXX' fields where turned into a > bitfield just as in 'struct iv_class' or 'struct induction' in the > same file. > > I don't know if it worse it (in term of memory usage reduction) > neither the impact in performance. > > If anyone interested, I can try it and do a bootstrap but I don't > have the tools to perform benchmark (memory usage or speed of the > compiler) loop.c is a dead man walking. It'll be probably removal in GCC 4.2, so I wouldn't waste my time on it. If you want to improve RTL loop optimizers, look into the new RTL loop optimizer (loop-*.c). Giovanni Bajo