Re: rfa (x86): 387<=>sse moves

2005-07-26 Thread Dale Johannesen
On Jul 26, 2005, at 3:34 PM, Dale Johannesen wrote: I think the RA may be missing the concept that memory might be faster than any possible register will dig further. Yes, it is. The following fixes my problem, and causes a couple of 3DNow-specific regressions in the testsuite which I

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-26 Thread Bob Proulx
Mark Cuss wrote: > I'm pretty certain that I'm not the only person who struggles with the "Oh, > that app was built on RH 8 so it won't run on RH 7.3" problems, so I'm > trying to find a solution where I can configure my build system in such a > way that I can distribute a set of libraries with

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-26 Thread Ranjit Mathew
Mark Cuss wrote: > > I'm pretty certain that I'm not the only person who struggles with the "Oh, > that app was built on RH 8 so it won't run on RH 7.3" problems, so I'm > trying to find a solution where I can configure my build system in such a > way that I can distribute a set of libraries wi

Re: gcc binary

2005-07-26 Thread Ian Lance Taylor
Simon Tsai <[EMAIL PROTECTED]> writes: > Where can I download gcc binary code for Linux? What's > URL? This is actually the wrong mailing list for this question. Can you tell us why you wrote to this list, so that we can encourage people to write to the correct list instead? Thanks. The right

Re: gcc binary

2005-07-26 Thread Joe Buck
On Tue, Jul 26, 2005 at 09:15:20PM -0700, Simon Tsai wrote: > Where can I download gcc binary code for Linux? What's > URL? You're best off using the gcc package that is designed to work with your distribution. Please ask a list that is devoted to your GNU/Linux distribution to find out how to do

gcc binary

2005-07-26 Thread Simon Tsai
Hi, Where can I download gcc binary code for Linux? What's URL? Thanks. simon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Annotations in tree

2005-07-26 Thread Daniel Berlin
On Tue, 2005-07-26 at 20:08 -0400, drizzle drizzle wrote: > tree level is fine too, it was just that the RTL level already had a > host of counters being inserted. One implementation question if I may > ask, so at the tree level how do I create a call to my function. build_function_call_expr. Lo

Re: Annotations in tree

2005-07-26 Thread drizzle drizzle
tree level is fine too, it was just that the RTL level already had a host of counters being inserted. One implementation question if I may ask, so at the tree level how do I create a call to my function. I know how to insert it into the tree but some how all my creations attempts with build_functi

Re: Annotations in tree

2005-07-26 Thread Daniel Berlin
On Tue, 2005-07-26 at 19:42 -0400, drizzle drizzle wrote: > What doesnt exist very long - the references ? By RTL, they've been expanded to pointer accesses. > At RTL level, I just want to insert a counter for each one of > these. Why do it at the rtl level. Why not do it at the tree lev

gcc-3.4-20050726 is now available

2005-07-26 Thread gccadmin
Snapshot gcc-3.4-20050726 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-20050726/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 3.4 CVS branch with the following options: -rgcc-ss-3_4-20050726 You'll

Re: Annotations in tree

2005-07-26 Thread drizzle drizzle
What doesnt exist very long - the references ? At RTL level, I just want to insert a counter for each one of these. One alternative I saw is inserting a dummy functiion call. Would that work ? If so, for a given name, how do I create a corresponding function expression for it ? thanks f

Re: Annotations in tree

2005-07-26 Thread Daniel Berlin
On Tue, 2005-07-26 at 18:39 -0400, drizzle drizzle wrote: > I am not sure if I unerstand ...can you elaborate please ? So what I > need is if I identify say a reference a[i] inside a loop, I want to > identify the corresponding RTL. What are you trying to do at the RTL level with array reference

Re: Annotations in tree

2005-07-26 Thread drizzle drizzle
I am not sure if I unerstand ...can you elaborate please ? So what I need is if I identify say a reference a[i] inside a loop, I want to identify the corresponding RTL. What I find now is that these get transformed for example D.1065_17 = a_matrix[i_24][k_30]; // I have identified

Re: rfa (x86): 387<=>sse moves

2005-07-26 Thread Dale Johannesen
On Jul 26, 2005, at 12:51 AM, Paolo Bonzini wrote: Dale Johannesen wrote: With -march=pentium4 -mfpmath=sse -O2, we get an extra move for code like double d = atof(foo); int i = d; callatof fstpl -8(%ebp) movsd -8(%ebp), %xmm0 cvttsd2si %xmm

Re: gcc 3.3.6 - stack corruption questions

2005-07-26 Thread Louis LeBlanc
On 07/26/05 05:52 PM, Robert Dewar sat at the `puter and typed: > Louis LeBlanc wrote: > > > I also found, to my delight and surprise, that the same code appears > > to perform between 10% and 20% better - in a rough, fairly imprecise > > environment. > > why surprise? I wasn't aware it was poss

Re: gcc 3.3.6 - stack corruption questions

2005-07-26 Thread Robert Dewar
Louis LeBlanc wrote: I also found, to my delight and surprise, that the same code appears to perform between 10% and 20% better - in a rough, fairly imprecise environment. why surprise?

Re: gcc 3.3.6 - stack corruption questions

2005-07-26 Thread Louis LeBlanc
On 07/26/05 12:28 AM, Giovanni Bajo sat at the `puter and typed: > Louis LeBlanc <[EMAIL PROTECTED]> wrote: > > > I added the -fstack-check switch to my makefile and recompiled with > > various optimizations. I was pretty surprised at the file sizes that > > showed up: > > > > No Optimization: >

Re: Annotations in tree

2005-07-26 Thread Diego Novillo
On Tue, Jul 26, 2005 at 04:21:51PM -0400, drizzle drizzle wrote: >I am trying to find out how to insert annotations for certain array > references identified in tree-loop-linear.c so that when converting to > In the ARRAY_REFs themselves? I would build a hash table on the side. If it's on th

Annotations in tree

2005-07-26 Thread drizzle drizzle
Hi, I am trying to find out how to insert annotations for certain array references identified in tree-loop-linear.c so that when converting to RTL they can be handled differently. I find that simply inserting a flag in the tree node is not enough as optimizations later on can lead to the node b

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-26 Thread Mark Cuss
Oh! I didn't know you could do that! Thanks very much! Mark - Original Message - From: "Haren Visavadia" <[EMAIL PROTECTED]> To: "Mark Cuss" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, July 26, 2005 1:29 PM Subject: Re: How to make an application look somewhere other than /lib for ld-li

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-26 Thread Haren Visavadia
--- Mark Cuss wrote: > > For #1, if I build with --static, then no libraries > can be linked in > dynamically at runtime... I need to do this for > some custom Qt libraries > and plugins, so I can't just make a completely > static executable. This is > unfortunate - the resulting binaries wou

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-26 Thread Mark Cuss
I appreciate your help, but I don't really appreciate the way you insinuate that I didn't do some leg work before running off to the mailing list. I *DID* RTFM, thank you very much. I found the -rpath option, tried it, and it didn't work. I mentioned this in my original post - I was confused

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-26 Thread Mark Cuss
Ok - thanks. For #1, if I build with --static, then no libraries can be linked in dynamically at runtime... I need to do this for some custom Qt libraries and plugins, so I can't just make a completely static executable. This is unfortunate - the resulting binaries would be big, but they'd w

#pragma support to guide autovectorizer

2005-07-26 Thread mcrosier
I was wondering if any addition work had been completed toward pragma support for the autovectorization branch (see http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01560.html)? Thanks.. Chad Rosier

Re: -fprofile-generate and -fprofile-use

2005-07-26 Thread girish vaitheeswaran
Jan, That's going to be rather difficult given that the app has over 1000 files. Is there a way I can turn off the "default" options one at a time ? Thx -girish --- Jan Hubicka <[EMAIL PROTECTED]> wrote: > > I have done quite a few experiments with this to > > narrow down the problem. The perform

Re: Is there a way to exclude a dir from multilibing?

2005-07-26 Thread Andrew Pinski
> > All, > > Is there a way to exclude a given directory, for example, > libjava, from multilibing? There are certainly cases where > it may make sense to have the C/C++ runtime be multilibbed > one way, but not have libjava multilibed the same way. > I looked for something like this in the docs

Is there a way to exclude a dir from multilibing?

2005-07-26 Thread Kean Johnston
All, Is there a way to exclude a given directory, for example, libjava, from multilibing? There are certainly cases where it may make sense to have the C/C++ runtime be multilibbed one way, but not have libjava multilibed the same way. I looked for something like this in the docs and didn't find

Re: Please help with __attribute__ weak

2005-07-26 Thread H. J. Lu
On Tue, Jul 26, 2005 at 10:16:48AM -0400, Dimitry Golubovsky wrote: > Dimitry Golubovsky wrote: > > > I need to declare a symbol which is weaker in the executable than in any > > external static or dynamic library. > > > In other words, the executable provides some fallback function > > implement

Re: Please help with __attribute__ weak

2005-07-26 Thread Dimitry Golubovsky
Dimitry Golubovsky wrote: > I need to declare a symbol which is weaker in the executable than in any > external static or dynamic library. > In other words, the executable provides some fallback function > implementation (in my example, for "write"). But if the linker or > dynamic linker resolves

Re: Please help with __attribute__ weak

2005-07-26 Thread H. J. Lu
On Tue, Jul 26, 2005 at 07:19:43AM -0400, Dimitry Golubovsky wrote: > > I need to declare a symbol which is weaker in the executable than in any > external static or dynamic library. > > In other words, the executable provides some fallback function > implementation (in my example, for "write").

Please help with __attribute__ weak

2005-07-26 Thread Dimitry Golubovsky
I need to declare a symbol which is weaker in the executable than in any external static or dynamic library. In other words, the executable provides some fallback function implementation (in my example, for "write"). But if the linker or dynamic linker resolves it, the symbol definition from an

how to write a define_peephole2 that uses custom registers in nios2

2005-07-26 Thread Liu Haibin
Hi, nios2 has a set of custom registers for custom instructions. They all start with "c", like custom 1 c4, c2, c0 I want to define a peephole to replace a sequence of codes with this above custom instruction. custom instruction is defined as following in nios2.md (define_insn "custom_inii"

Re: rfa (x86): 387<=>sse moves

2005-07-26 Thread Paolo Bonzini
Dale Johannesen wrote: With -march=pentium4 -mfpmath=sse -O2, we get an extra move for code like double d = atof(foo); int i = d; callatof fstpl -8(%ebp) movsd -8(%ebp), %xmm0 cvttsd2si %xmm0, %eax (This is Linux, Darwin is similar.) I thi

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-26 Thread Paolo Bonzini
Paolo, could you go back and think about the bootstrapping problem from MinGW's perspective? I had considered cygwin, that had some problems because of the executable-file extension. I had also thought of using batch files via config.build, but got stuck because Windows. does not have as f

Re: GCC-3.4.5 status report

2005-07-26 Thread Gabriel Dos Reis
Bernardo Innocenti <[EMAIL PROTECTED]> writes: | Gabriel Dos Reis wrote: | | > The full list of bugs is produced below. Maintainers, please look | > into any of those and see which ones you can fix or give guidance for | > fixes in ways that are suitable for a stable branch. | | This m68k patch

Re: -fprofile-generate and -fprofile-use

2005-07-26 Thread Jan Hubicka
> I have done quite a few experiments with this to > narrow down the problem. The performance numbers are > slower compared to *No Feedback optimization with just > -O3* Here are some of them. All the experiments were > done on a new build-area in order to eliminate effects > of old feedback files