Re: mismatched parentheses in reload1.c

2006-08-25 Thread Andreas Jaeger
Jan Hubicka <[EMAIL PROTECTED]> writes: >> >> else if (rld[r].out_reg == 0 >>&& rld[r].in != 0 >>&& ((REG_P (rld[r].in) >> && REGNO (rld[r].in) >= FIRST_PSEUDO_REGISTER >> && !REGNO_REG_SET_P (®_has_output_reload, >>

Re: REG_OK_STRICT and EXTRA_CONSTRAINT

2006-08-25 Thread Hans-Peter Nilsson
On Fri, 25 Aug 2006, Paolo Bonzini wrote: > After I'm done with the base_reg_class changes, I will try > modifying address_operand to be something along the lines of your U > constraint: Yeah, that does sound like the real bug; nothing should be using non-strict checking after reload as address_op

Backend for PicoBlaze

2006-08-25 Thread Armin Vogl
Hello, I would like to ask if it would be possible to write a gcc backend for the Xilinx PicoBlaze soft processor. If you never heard about it, please look here: http://www.xilinx.com/ipcenter/processor_central/picoblaze/picoblaze_user_resources.htm As I have never programmed anything like a c

Re: make check glitch

2006-08-25 Thread Steve Ellcey
> > From: [EMAIL PROTECTED] (Jack Howarth) > > MIME-Version: 1.0 > > > > make -k check RUNTESTFLAGS='--target_board "unix{,-m64}"' > > > > I run the same command from the toplevel of the darwin_objdir > > directory, the make check bails out with... > > It works for me on RHEL 4 U4: > > http://g

Re: Backend for PicoBlaze

2006-08-25 Thread Ian Lance Taylor
"Armin Vogl" <[EMAIL PROTECTED]> writes: > I would like to ask if it would be possible to write a gcc backend for the > Xilinx PicoBlaze soft processor. Porting gcc to an 8-bit microcontroller is not completely impossible, but it is not easy. gcc was written to generate code for 32-bit processor

Re: make check glitch

2006-08-25 Thread Jack Howarth
Steve, The problem is entirely due to the absence of an equal sign between --target_board and 'unix{-m32,}'. I looked through the gcc documentation for any mentions of --target_board and every example I found used an equals sign after --target_board. However, I don't think this is explicitly me

How to use "nothing" in pipeline description?

2006-08-25 Thread H. J. Lu
If an instruction has latency 3 and throughput 1, should I write it as (define_insn_reservation "simple" 3 (eq_attr "memory" "none") "p0") or (define_insn_reservation "simple" 3 (eq_attr "memory" "none") "p0,nothing*2") Are they equivalent? What happens when there are fewer reservation

Re: Backend for PicoBlaze

2006-08-25 Thread Armin Vogl
Thanks for answering. I already feared that it wouldn't be trivial after reading through the documentation ... I think a PicoBlaze backend would be very intersting for the soft processor community. Armin There is no place to request a backend port, other than the e-mail you sent. Most such req

4.2 regression: gcc 4.2 revision 116385 miscompiles fma3d in SPEC CPU 2K

2006-08-25 Thread H. J. Lu
fma3d in SPEC CPU 2K failed with revision 116385 on x86 and x86-64. revision 116362 is OK. Has anyone else seen it? H.J.

Re: Backend for PicoBlaze

2006-08-25 Thread Rask Ingemann Lambertsen
On Fri, Aug 25, 2006 at 06:06:47PM +0200, Armin Vogl wrote: > Hello, > > I would like to ask if it would be possible to write a gcc backend for the > Xilinx PicoBlaze soft processor. I'll make a few comments about it. 1. 8-bit wide registers (and ALU). GCC can generate disappointingly poo

libstdc++, -m64 and can't find atom for N_GSYM stabs

2006-08-25 Thread Jack Howarth
f the 'test for excess errors' type. Sure enough if you examine them you these are identical to those in the -m64 libgfortran build... Executing on host: /sw/src/fink.build/gcc4-4.1.999-20060825/darwin_objdir/./gcc/g++ -shared-libgcc -B/sw/src/fink.build/gcc4-4.1.999-20060825/darwin_ob

Re: libstdc++, -m64 and can't find atom for N_GSYM stabs

2006-08-25 Thread Eric Christopher
Jack Howarth wrote: Geoff, It appears that this issue with the ld64 link issuing warnings of "can't find atom for N_GSYM stabs" is not specific to gfortran. I finally figured out the correct syntax to run a complete make check so that the libraries as well as gcc are checked. FYI, the trick is

Re: Backend for PicoBlaze

2006-08-25 Thread Mike Stump
On Aug 25, 2006, at 2:59 PM, Rask Ingemann Lambertsen wrote: `indirect_jump' An instruction to jump to an address which is operand zero. This pattern name is mandatory on all machines. I don't see how it can be supported. But most programs don't need it. Well, the usu

gcc-4.1-20060825 is now available

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

Re: Backend for PicoBlaze

2006-08-25 Thread Armin Vogl
I suggest that before you do anything else, you figure out how to pass arguments to functions and figure out an instruction sequence which performs signed comparison. Thaks for your comments. I start to think it is actally more complicated that I had first thought. I must admit that I curre

Re: 4.2 regression: gcc 4.2 revision 116385 miscompiles fma3d in SPEC CPU 2K

2006-08-25 Thread H. J. Lu
On Fri, Aug 25, 2006 at 01:51:26PM -0700, H. J. Lu wrote: > fma3d in SPEC CPU 2K failed with revision 116385 on x86 and x86-64. > revision 116362 is OK. Has anyone else seen it? > Never mind. I have an old library. H.J.

Re: How to use "nothing" in pipeline description?

2006-08-25 Thread Vladimir N. Makarov
H. J. Lu wrote: If an instruction has latency 3 and throughput 1, should I write it as (define_insn_reservation "simple" 3 (eq_attr "memory" "none") "p0") or (define_insn_reservation "simple" 3 (eq_attr "memory" "none") "p0,nothing*2") Are they equivalent? Yes. What happens when ther

Re: Backend for PicoBlaze

2006-08-25 Thread Ian Lance Taylor
Rask Ingemann Lambertsen <[EMAIL PROTECTED]> writes: > 4. Stack and argument passing. > >PicoBlaze has an internal call/return stack which can't be used for > passing arguments. How will the STACK_POINTER_REGNUM macro and the > "push" instruction pattern be specified? For STACK_POINTER_REGNU

Re: libstdc++, -m64 and can't find atom for N_GSYM stabs

2006-08-25 Thread Jack Howarth
Eric, So far the smallest test case I can come up with reproduces the "can't find atom for N_GSYM stabs" ld64 linker warning in Darwin is... #include #include // uneq_allocator as a non-empty allocator. void test01() { bool test __attribute__((unused)) = true; using namespace std; typ

fp-int-convert-timode, TImode and Darwin

2006-08-25 Thread Jack Howarth
I recently discovered an apparent latent bug in float to integer conversion which is exposed on Darwin PPC by addition of Geoff Keating's proposed TImode support patch... http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00581.html With this patch in place, the 64-bit testsuite results show that t

Re: fp-int-convert-timode, TImode and Darwin

2006-08-25 Thread Eric Christopher
So the problem on Darwin seems to be with conversion of the float results to integer results. Geoff has said he has done all he intends to with TImode for now so perhaps someone else more interested might take a look at this bug (which may well be independent of, but exposed by the TImode sup

Re: fp-int-convert-timode, TImode and Darwin

2006-08-25 Thread Jack Howarth
Eric, Does that imply that the TImode patch is a must have for Darwin x86_64 in the gcc 4.2 release? If so you might try to convince Geoff that it really should go into gcc trunk before the branch occurs. Frankly I was aghast to discover yesterday that the folks doing the Irix port managed to ge

Re: fp-int-convert-timode, TImode and Darwin

2006-08-25 Thread Eric Christopher
Jack Howarth wrote: Eric, Does that imply that the TImode patch is a must have for Darwin x86_64 in the gcc 4.2 release? If so you might try to convince Geoff that it really should go into gcc trunk before the branch occurs. Frankly I was aghast to discover yesterday that the folks doing the I

Re: fp-int-convert-timode, TImode and Darwin

2006-08-25 Thread Jack Howarth
Eric, It would be rather unfortunate if Darwin x86_64 support didn't go in (as long as it doesn't destabilize the Darwin ppc port). Currently we in the fink project are already living with bastardized gcc 4.2 prereleases in order to have any Macintel support. I had hoped we could latch onto the