[Vm-dev] [commit][3458] Commentary.

commits at squeakvm.org commits at squeakvm.org
Sat Sep 26 23:37:00 UTC 2015


Revision: 3458
Author:   eliot
Date:     2015-09-26 16:36:59 -0700 (Sat, 26 Sep 2015)
Log Message:
-----------
Commentary.

Modified Paths:
--------------
    trunk/platforms/Cross/plugins/IA32ABI/ia32abi.h

Modified: trunk/platforms/Cross/plugins/IA32ABI/ia32abi.h
===================================================================
--- trunk/platforms/Cross/plugins/IA32ABI/ia32abi.h	2015-09-26 22:54:37 UTC (rev 3457)
+++ trunk/platforms/Cross/plugins/IA32ABI/ia32abi.h	2015-09-26 23:36:59 UTC (rev 3458)
@@ -38,6 +38,9 @@
 # define INT_REG_ARGS /* none */
 # define DBL_REG_ARGS /* none */
 #elif defined(__amd64__) || defined(__x86_64__) || defined(__amd64) || defined(__x86_64)
+/* Since the System V and Windows ABIs differ w.r.t. double parameters we don't
+ * specify any DBL_REG_ARGS, even though on Unix there are eight.
+ */
 # define INT_REG_ARGS long,long,long,long,long,long,
 # define DBL_REG_ARGS /* none */
 #elif defined(__powerpc__) || defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined(__ppc__)
@@ -48,8 +51,6 @@
 # define DBL_REG_ARGS double,double,double,double,double,double,double,double,
 #endif
 extern long  thunkEntry (INT_REG_ARGS DBL_REG_ARGS void *,long *);
-//JMM extern long thunkEntry(long a0, long a1, long a2, long a3, long a4, long a5,
-//                       void *thunkp, long *stackp);
 extern void *allocateExecutablePage(long *pagesize);
 extern VMCallbackContext *getMostRecentCallbackContext(void);
 



More information about the Vm-dev mailing list