32-bit immediate

2010-05-27 Thread Eggenmüller Bernd
Hi, I've to represent 32 bit immediates to trans late the libgcc2. The problem is that my assembler only can represent 16 Bit immediates. How can I implement a workaround for 32 Bit immediates. Thanks Egge

disallow movm in a register class

2010-05-18 Thread Eggenmüller Bernd
Hi all, how can I disallow the mov operation for a register class. Can someone help me? Thanks, Egge

Re: libgcc2

2010-05-17 Thread Eggenmüller Bernd
Andrew Pinski schrieb: On Thu, May 13, 2010 at 8:46 AM, Eggenmüller Bernd egg...@gmx.de 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

Re: libgcc2

2010-05-13 Thread Eggenmüller Bernd
Ian Lance Taylor schrieb: Eggenmüller Bernd egg...@gmx.de writes: Ian Lance Taylor schrieb: Eggenmüller Bernd egg...@gmx.de 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

Re: libgcc2

2010-05-13 Thread Eggenmüller Bernd
Andrew Pinski schrieb: On Thu, May 13, 2010 at 8:46 AM, Eggenmüller Bernd egg...@gmx.de 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

libgcc2

2010-05-12 Thread Eggenmüller Bernd
Hi all, 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 Stackpointer. The other two can be used to calculate. Reegards Egge

32 Bit Backend with 3 Registers

2010-05-10 Thread Eggenmüller Bernd
Hi, I have a problem to compile the libgcc2 with a new gcc backend. I have a little processor with 4 registers A X Y and R0(0) with 32 Bit. R0(0) is the stackpointer and Y is the basepointer. So i only have the registers A and X to calculate. It always gave me an error that there are to less