Re: C Metaprogramming

2012-06-19 Thread Daniel Santos
Thanks for your response! On 06/19/2012 08:40 AM, Richard Guenther wrote: > On Tue, Jun 19, 2012 at 4:41 AM, Daniel Santos wrote: >> So before filing any feature request bugs, I figured I should bring my >> discussion here first, as I believe some enhancements to gcc can better >> enable this typ

Regarding GCC Optimization flags and a customized profiler

2012-06-19 Thread Parang Saraf
Hi, I have developed a small profiler which uses AMD's IBS (Instruction Based Samling) to profile a program. With the help of it, I am able to generate quite detailed information about the program like how many times there is a branch miss for each branch or which instructions are causing a lot of

Re: C++ Expression Template Benchmarks for GCC/Clang/Intel/PGI/MSVC

2012-06-19 Thread Walter Landry
Richard Guenther wrote: > On Fri, Jun 15, 2012 at 12:54 AM, Walter Landry wrote: >> Hello Everyone, >> >> I thought you might be interested in some C++ expression template >> benchmarks I have done. >> >>  http://www.wlandry.net/Projects/FTensor#Benchmarks >> >> I found that GCC optimized the exp

Re: multilib build problem with default options

2012-06-19 Thread Steve Ellcey
On Tue, 2012-06-19 at 20:59 +, Joseph S. Myers wrote: > On Tue, 19 Jun 2012, Steve Ellcey wrote: > > > I am building a multilib mips compiler using '--with-synci' on the > > configure line. This means that gcc will pass the '-msynci' option > > to cc1 by default. The problem occurs when on

Re: multilib build problem with default options

2012-06-19 Thread Joseph S. Myers
On Tue, 19 Jun 2012, Steve Ellcey wrote: > I am building a multilib mips compiler using '--with-synci' on the > configure line. This means that gcc will pass the '-msynci' option > to cc1 by default. The problem occurs when one of my multilib > targets (like -mips32) does not support synci. T

Re: multilib build problem with default options

2012-06-19 Thread Ian Lance Taylor
"Steve Ellcey " writes: > I am building a multilib mips compiler using '--with-synci' on the > configure line. This means that gcc will pass the '-msynci' option > to cc1 by default. The problem occurs when one of my multilib > targets (like -mips32) does not support synci. This means that >

Re: decimal floating point

2012-06-19 Thread Janis Johnson
On 06/18/2012 10:51 PM, Franz Fehringer wrote: > Hi, > > I am investigating the possibilities of using decimal floating point > arithmetic with gcc (on Linux / x86_64 to be explicit). I'm a little rusty on this and my information might be out of date, but this should be a good start. If I say so

Re: [Target maintainers]: Please update libjava/sysdep/*/locks.h with new atomic builtins

2012-06-19 Thread John David Anglin
On 6/14/2012 5:41 AM, Uros Bizjak wrote: I would like to point out that in libjava/sysdep/*/lockThe syncs.h many targets still implement atomics in assembly. These utility functions can be implemented with new atomic builtins, avoiding quite some compexity. This requires changes to the testsuite

multilib build problem with default options

2012-06-19 Thread Steve Ellcey
I am trying to fix a multilib build problem and am hoping a build expert can help me figure out a fix/workaround to my problem. I am building a multilib mips compiler using '--with-synci' on the configure line. This means that gcc will pass the '-msynci' option to cc1 by default. The problem o

Re: Why not remove entry for stripped function in ELF .debug_info section

2012-06-19 Thread Ian Lance Taylor
Terry Guo writes: > But when check .debug_info section of .out file, I can still see entry > for this deadstripped function: I have two things to say about this message. First, this message is not appropriate for the mailing list gcc@gcc.gnu.org, which is for discussion related to the developme

Re: C Metaprogramming

2012-06-19 Thread Richard Guenther
On Tue, Jun 19, 2012 at 4:41 AM, Daniel Santos wrote: > Yes, my topic sounds crazy huh?  But you guys made it possible when you > started optimizing out constant function pointers. (Thank you!!) This > didn't mature to "full power" until 4.6.? (works in 4.6.2, not sure > about earlier 4.6).  Now t

Re: C Metaprogramming

2012-06-19 Thread Mike Dupont
Thats very interesting, thanks for sharing. mike On Tue, Jun 19, 2012 at 4:41 AM, Daniel Santos wrote: > Yes, my topic sounds crazy huh?  But you guys made it possible when you > started optimizing out constant function pointers. (Thank you!!) This > didn't mature to "full power" until 4.6.? (wor

Authorization for website translation ''

2012-06-19 Thread bagrat . kapanadze
Hi, I’m a representative of the NGO called “Translation for Education”. Our organization makes non-commercial translations from various foreign languages for those who don’t know English, but are curious to find out new things that appear in the English-speaking Internet. Usually I (and oth