FAQ conflict

2010-05-13 Thread Todd Rinaldo
Your FAQ at the below URLS conflicts as to which autoconf should be used. one says 2.13 th other says 2.64. 2.65 is currently available. http://gcc.gnu.org/faq.html#generated_files http://gcc.gnu.org/install/prerequisites.html

gcc-4.5-20100513 is now available

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

Re: Tree Browser

2010-05-13 Thread Diego Novillo
On 5/4/10 15:11 , Wolfgang kaifler wrote: > (gdb) p browse_tree (current_function_decl) > No symbol "browse_tree" in current context. > (gdb) > > What i'm doing wrong? Any ideas? The tree browser code has bitrotted to the point that I think it should be removed, unfortunately. It's a great cand

Re: [RFC] Introduce -Ofast

2010-05-13 Thread Diego Novillo
On 5/6/10 10:24 , Richard Guenther wrote: > Any comments or objections? I agree. It sounds useful. It's a bit confusing in that I don't know whether it means 'compile very fast' or 'make my code run very fast'. I've seen it mean the latter in most places, so I guess that's fine. Allowing backe

Re: CLI-FE merge 4.3 to 4.5

2010-05-13 Thread Diego Novillo
On 5/10/10 10:31 , Kevin Williams wrote: > 1. What is the correct behaviour for a FE in terms of setting the > global variables cfun and current_function_declaration? They should be set to the current function being parsed. These will be set to NULL when the compiler is working in IPA mode. > 2

Re: mips secondary reload question

2010-05-13 Thread Richard Sandiford
"Amker.Cheng" writes: > Hi: > as to page http://gcc.gnu.org/ml/gcc/2010-05/msg00091.html, > If the fpu register can not copied to/from memory directly, I have > to use intermediate GPR registers. > > In fact, I return GP_REGS if copying x to a register in class FP_REGS > in any mode(including CC

Re: arm-elf float-abi defaults...

2010-05-13 Thread Mark Mitchell
DJ Delorie wrote: > I discovered that if you build a plain arm-elf toolchain, the default > float-abis for gcc and gas don't match. I added this patch locally to > make it "just work" but it seems to me it would be better to have the > defaults match, although I'm not sure how to enforce that. C

Re: libgcc2

2010-05-13 Thread Eggenmüller Bernd
Andrew Pinski schrieb: On Thu, May 13, 2010 at 8:46 AM, Eggenmüller Bernd wrote: Is there any implementation with less registers like this. libgcc2 is written in C; so if it fails to compile you need to fix up your backend. There might need some middle-end fixes too with this small n

Re: libgcc2

2010-05-13 Thread Andrew Pinski
On Thu, May 13, 2010 at 8:46 AM, Eggenmüller Bernd wrote: > Is there any implementation with less registers like this. libgcc2 is written in C; so if it fails to compile you need to fix up your backend. There might need some middle-end fixes too with this small number of registers used. You mig

Re: libgcc2

2010-05-13 Thread Eggenmüller Bernd
Ian Lance Taylor schrieb: Eggenmüller Bernd writes: Ian Lance Taylor schrieb: Eggenmüller Bernd writes: is it possible to translate the libgcc2 when i only have 4 registers which are 32 bits long. One of the four Registers is defined as Basepointer and another as Stackpoi

Re: Adding "soft-fp" support to a new target

2010-05-13 Thread David Edelsohn
On Thu, May 13, 2010 at 7:10 AM, Rathish C wrote: > Hi, > > I am trying to add the soft-fp support to a new target. I have > checked the implementation done in rs6000 port, and done the > similar modifications to our port. I have made the following > changes. > >  (1) Added the following files >  

RE: Machine description question

2010-05-13 Thread Bingfeng Mei
Hari, Here are some patterns similar to yours. (define_insn "putbx" [(set (reg:BXBC R_BX) (unspec:BXBC [(match_operand:QI 0 "firepath_register" "vr")] UNSPEC_BXM)) (unspec:BXBC [(reg:BXBC R_BX)] UNSPEC_BX)] <--- Important to avoid some wrong optimization (Maybe DCE, I couldn't remembe

Adding "soft-fp" support to a new target

2010-05-13 Thread Rathish C
Hi, I am trying to add the soft-fp support to a new target. I have checked the implementation done in rs6000 port, and done the similar modifications to our port. I have made the following changes. (1) Added the following files t-fprules-softfp sfp-machine.h (2) Modified th

Re: Machine description question

2010-05-13 Thread Hariharan Sandanagobalane
The patterns for PUT/GET were ; Scalar Put instruction. (define_insn "commsPut" [(unspec_volatile [(match_operand:HI 0 "const_int_operand" "") (match_operand:SI 1 "register_operand" "r")] UNSPEC_PUT)] "" "PUT %R1,%0\t// PORT(%0) := %R1" [(set_attr "type"