[kaffe] compiling with -msoft-float

Timothy Stack stack@cs.utah.edu
Thu, 25 Jul 2002 12:06:02 -0600 (MDT)


> Hi,
> 	Im trying to compile kaffe on powerpc with the CFLAGS -msoft-float
> 
> When it arrives at support.c it gives me that:
> support.c: In function `sysdepCallMethod':
> support.c:1051: Internal compiler error:
> support.c:1051: internal error--insn does not satisfy its constraints:
> (insn 1006 1003 515 (set (reg/v:DF 40 f8)
>         (mem:DF (plus:SI (reg:SI 31 r31)
>                 (const_int 8 [0x8])) 0)) 441 {*movdf_softfloat32} (nil)
>     (nil))

for now, try and "#if 0" out the asm floating point references in
config/powerpc/sysdepCallMethod.h.  Specifically, stuff like:

  register double d0 asm("fr1");

Then, you'll have to figure out how to pass floats / doubles in the gpr's.

> Later
> -Mat

tim