[kaffe] compiling with -msoft-float

Timothy Stack stack at cs.utah.edu
Thu Jul 25 11:06:02 PDT 2002


> 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




More information about the kaffe mailing list