Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-15 Thread Joern Rennecke
Quoting Bernd Schmidt : 2009-02-24 J"orn Rennecke * loop-doloop.c (doloop_valid_p): Rename to: (validize_doloop). Try to fix up loops with conditons for infinite looping by enclosing them in an outer loop. Changed caller. (add_test): Add new parameter

Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-15 Thread Bernd Schmidt
Joern Rennecke wrote: For ARCompact, doloop loops in particular were interesting to optimize, which is why I have a patch to loop-doloop.c in svn://gcc.gnu.org/svn/gcc/branches/arc-4_4-branch : 2009-02-24 J"orn Rennecke * loop-doloop.c (doloop_valid_p): Rename to: (validize

Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-11 Thread Joern Rennecke
- Forwarded message from amyl...@spamcop.net - Date: Mon, 11 May 2009 05:07:52 -0400 From: Joern Rennecke Reply-To: Joern Rennecke Subject: Re: Interest in integer auto-upcasting pass for normalization and optimization? To: Daniel Jacobowitz Cc: Albert Cohen

Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-10 Thread Daniel Jacobowitz
On Sat, May 09, 2009 at 10:07:38PM +0200, Albert Cohen wrote: > I wonder if some of this is already implemented somewhere, or if someone > played with it in the past, or is interesting in contributing. This sounds a bit similar to Nathan Froyd's recent work: http://gcc.gnu.org/ml/gcc-patches/20

Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-10 Thread Albert Cohen
Richard Guenther wrote: On Sat, May 9, 2009 at 10:42 PM, Richard Guenther wrote: On Sat, May 9, 2009 at 10:07 PM, Albert Cohen wrote: Sebastian Pop and I have been discussing the option of designing a new pass, based on vrp, to normalize integer types towards a canonical supertype typically a

Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-09 Thread Richard Guenther
On Sat, May 9, 2009 at 10:42 PM, Richard Guenther wrote: > On Sat, May 9, 2009 at 10:07 PM, Albert Cohen wrote: >> Sebastian Pop and I have been discussing the option of designing a new pass, >> based on vrp, to normalize integer types towards a canonical supertype >> typically a machine word, eq

Re: Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-09 Thread Richard Guenther
On Sat, May 9, 2009 at 10:07 PM, Albert Cohen wrote: > Sebastian Pop and I have been discussing the option of designing a new pass, > based on vrp, to normalize integer types towards a canonical supertype > typically a machine word, equivalent to signed long, or to truncate to a > smaller-size wor

Interest in integer auto-upcasting pass for normalization and optimization?

2009-05-09 Thread Albert Cohen
Sebastian Pop and I have been discussing the option of designing a new pass, based on vrp, to normalize integer types towards a canonical supertype typically a machine word, equivalent to signed long, or to truncate to a smaller-size word when it makes sense. This would be a very simple pass (o