vectorization

2010-07-18 Thread roy rosen
Hi, In my architecture I have simd instructions with several simd levels. I have load and store which operate on 8 half words. I have add and sub for 4 half words I have mul which operates on 2 half words. How can I utilize all of them? Is that enough just to describe each one of these instruction

Re: Edit-and-continue

2010-07-18 Thread Rick Hodgin
Ian, The idea is to create a program database of the compiled program on a full compile. Then when asked to re-compile with the edit-and-continue switch, it only looks for changed code and compiles those few lines. Everything else it needs to carry out compilation is there from previous full-co

Re: Edit-and-continue

2010-07-18 Thread Robert Dewar
Rick Hodgin wrote: Ian, The idea is to create a program database of the compiled program on a full compile. Then when asked to re-compile with the edit-and-continue switch, it only looks for changed code and compiles those few lines. Everything else it needs to carry out compilation is there fro

Re: Edit-and-continue

2010-07-18 Thread Jonathan Wakely
On 18 July 2010 16:25, Rick Hodgin wrote: > Ian, > > The idea is to create a program database of the compiled program on a full > compile. Then when asked to re-compile with the edit-and-continue switch, it > only looks for changed code and compiles those few lines. Everything else it > needs to

Re: Edit-and-continue

2010-07-18 Thread Dave Korn
On 18/07/2010 16:28, Robert Dewar wrote: > Rick Hodgin wrote: >> Ian, >> >> The idea is to create a program database of the compiled program on a >> full compile. Then when asked to re-compile with the >> edit-and-continue switch, it only looks for changed code and compiles >> those few lines. Ever

Re: Edit-and-continue

2010-07-18 Thread Ian Lance Taylor
Rick Hodgin writes: > The idea is to create a program database of the compiled program on a > full compile. Then when asked to re-compile with the edit-and-continue > switch, it only looks for changed code and compiles those few > lines. Everything else it needs to carry out compilation is there

Re: [Bulk] Re: Edit-and-continue

2010-07-18 Thread Terrence Miller
If you are willing to restrict edit-and-continue to whole procedures then minimal changes to the compiled code for procedure entry points is all that is required (well that and dlopen). Terrence MIller On 7/18/2010 12:14 PM, Dave Korn wrote: On 18/07/2010 16:28, Robert Dewar wrote:

Re: [Bulk] Re: Edit-and-continue

2010-07-18 Thread Rick C. Hodgin
Terrence, Procedure entry points, global and local variable locations in memory, structure definitions and offsets, etc. These would all have to be updated as changes are made, and that means each reference used in the executable would need to be updated, and that could mean several source files

Re: Edit-and-continue

2010-07-18 Thread Rick C. Hodgin
On Sun, 2010-07-18 at 19:46 +0100, Jonathan Wakely wrote: > On 18 July 2010 16:25, Rick Hodgin wrote: > > Ian, > > > > The idea is to create a program database of the compiled program on a full > > compile. Then when asked to re-compile with the edit-and-continue switch, > > it only looks for cha

Re: onlinedocs/libstdc++ appears stale

2010-07-18 Thread Gerald Pfeifer
On Thu, 15 Jul 2010, Jonathan Wakely wrote: >> How shall we address this for real?  Is it really worthwhile to >> manually generate those .html.gz files for onlinedocs/libstdc++ or >> could we simply omit that step?  Not sure it's really worth the >> hassles? > I have no idea why we gzip them, i

Re: [Bulk] Re: Edit-and-continue

2010-07-18 Thread Jonathan Wakely
On 18 July 2010 20:52, Rick C. Hodgin wrote: > > The idea of having function entry points across the board for all > executed code would be required, allowing those links to be updated > dynamically at run-time.  We could even use a memory-based lookup table > that's updated by gdb to the new entry

Re: [Bulk] Re: Edit-and-continue

2010-07-18 Thread Rick C. Hodgin
Jonathan, If you run Linux, you can download VMware, and install a version of Windows XP or later) and download Visual Studio Express from Microsoft for free. You can experiment with it and see how useful it is. It's pretty darned amazing actually. Once you use it, you'll always miss it. Simple

Re: [Bulk] Re: Edit-and-continue

2010-07-18 Thread Jonathan Wakely
On 18 July 2010 23:15, Rick C. Hodgin wrote: > Jonathan, > > If you run Linux, you can download VMware, and install a version of > Windows XP or later) I don't have a licence to do that. > and download Visual Studio Express from Microsoft > for free.  You can experiment with it and see how usefu

gcc-4.3-20100718 is now available

2010-07-18 Thread gccadmin
Snapshot gcc-4.3-20100718 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20100718/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

suggest assert wide_int larger than hashval_t

2010-07-18 Thread Jay K
I get this in 4.3.5: ../../gcc/gcc/varasm.c: In function `const_rtx_hash_1': ../../gcc/gcc/varasm.c:3387: warning: right shift count >= width of type ./include/hashtab.h:typedef unsigned int hashval_t;   unsigned HOST_WIDE_INT hwi;   hashval_t h, *hp;  ...     const int shift = sizeof (hashval_