[kaffe] CVS kaffe (dalibor): Fixed stfd problem on xscale

Kaffe CVS cvs-commits at kaffe.org
Mon Jun 28 22:02:15 PDT 2004


PatchSet 4877 
Date: 2004/06/28 19:05:15
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed stfd problem on xscale

2004-06-28  Dalibor Topic  <robilad at kaffe.org>

        * config/arm/sysdepCallMethod.h:
        (sydepCallMethod) Replaced assembler code used
        for floats and doubles with C code to fix
        compile problems on xscale.

Members: 
	ChangeLog:1.2443->1.2444 
	config/arm/sysdepCallMethod.h:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2443 kaffe/ChangeLog:1.2444
--- kaffe/ChangeLog:1.2443	Mon Jun 28 00:20:34 2004
+++ kaffe/ChangeLog	Mon Jun 28 19:05:15 2004
@@ -1,3 +1,10 @@
+2004-06-28  Dalibor Topic  <robilad at kaffe.org>
+
+	* config/arm/sysdepCallMethod.h:
+	(sydepCallMethod) Replaced assembler code used
+	for floats and doubles with C code to fix 
+	compile problems on xscale.	
+
 2004-06-27  Dalibor Topic  <robilad at kaffe.org>
 
 	* config/arm/linux/sigcontextinfo.h:
Index: kaffe/config/arm/sysdepCallMethod.h
diff -u kaffe/config/arm/sysdepCallMethod.h:1.4 kaffe/config/arm/sysdepCallMethod.h:1.5
--- kaffe/config/arm/sysdepCallMethod.h:1.4	Mon Jun 28 00:20:37 2004
+++ kaffe/config/arm/sysdepCallMethod.h	Mon Jun 28 19:05:20 2004
@@ -70,11 +70,11 @@
       break;
 
     case 'D':
-      asm volatile ("stfd %1,%0" : "=m" (call->ret->d) : "f" (f0));
+      call->ret->d = (double) f0;
       break;
 
     case 'F':
-      asm volatile ("stfs %1,%0" : "=m" (call->ret->f) : "f" (f0));
+      call->ret->f = (float) f0;
       break;
  
     case 'J':




More information about the kaffe mailing list