How to handle loop iterator variable?

2008-05-09 Thread Sandeep Maram
Hi, Consider 2 for loops as given below. for (i = 1; i < N ; i++) { a[i] = 1; } for (i = 1; i < N ; i++) { j = j + a[i]; } Their corresponding GIMPLE code looks like. loop_2 (header = 6, latch = 7, niter = , upper_bound = 999, estimate = 999) { bb_6 (preds = {bb_

Re: Division using FMAC, reciprocal estimates and Newton-Raphson - eg ia64, rs6000, SSE, ARM MaverickCrunch?

2008-05-09 Thread Paolo Bonzini
I'd like to implement something similar for MaverickCrunch, using the integer 32-bit MAC functions, but there is no reciprocal estimate function on the MaverickCrunch. I guess a lookup table could be implemented, but how many entries will need to be generated, and how accurate will it have to b

RFC: Optimize caller-saved register

2008-05-09 Thread H.J. Lu
Hi, Currently we save the entire register content for caller-saved register, even though only lower 4/8 bytes are used, as in the case of SSE math without vectorizer. Is it possible to only save the used portion of register content for caller-saved register? Thanks. H.J.

Re: How to handle loop iterator variable?

2008-05-09 Thread Sebastian Pop
On Fri, May 9, 2008 at 2:09 AM, Sandeep Maram <[EMAIL PROTECTED]> wrote: > i_23 is the loop iterator of loop_2 . i_22 is the loop iterator of loop_1. > > How can I rename i_23 as i_22? > In lambda-code.c:1858 you have some code that does a similar renaming: FOR_EACH_IMM_USE_STMT (stmt, imm_iter,

gcc-4.4-20080509 is now available

2008-05-09 Thread gccadmin
Snapshot gcc-4.4-20080509 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20080509/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: RFH: Building and testing gimple-tuples-branch

2008-05-09 Thread Kaz Kojima
Diego Novillo <[EMAIL PROTECTED]> wrote: > So, for folks with free cycles to spare, could you build the branch on > your favourite target and report bugs? Bugzilla and/or email reports > are OK. If you are creating a bugzilla report, please add my address to > the CC field. With the attached

Deprecation?!

2008-05-09 Thread Dave Higginbotham
I'm getting a " warning: deprecated conversion from string constant to ‘char*’" message in g++ (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7). I've always understood there is no such thing as deprecation in C++ (and have been proud of this concept). What gives? Does the standards committee allow deprecation