[kaffe] Build error while porting to ARM-LINUX (the code)

Dalibor Topic robilad at kaffe.org
Sat May 15 06:48:03 PDT 2004


Heejune AHN wrote:
> The following is the trouble maker....
> 
> IN config/arm/sysdepCellMethod.h  
> 
> case 'D':
>       asm volatile ("stfd %1,%0" : "=m" (call->ret->d) : "f" (f0));
>       break;
>                                                                                 
>     case 'F':
>       asm volatile ("stfs %1,%0" : "=m" (call->ret->f) : "f" (f0));
>       break;

I hope that we could replace it by C code, as you suggest. Does:

case 'D':
	call->ret->d = (double) f0;
	break;

case 'F':
	call->ret->f = f0;
	break;

help?

cheers,
dalibor topic




More information about the kaffe mailing list