[m-dev.] trivial diff: document MR_AVOID_MACROS

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 19 01:15:31 AEDT 2000


Estimated hours taken: 0.25

runtime/mercury_conf_param.h:
	Document MR_AVOID_MACROS.
	Also improve the documentation for MR_USE_REGPARM.

Workspace: /home/pgrad/fjh/ws/hg
Index: runtime/mercury_conf_param.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_conf_param.h,v
retrieving revision 1.44
diff -u -d -r1.44 mercury_conf_param.h
--- runtime/mercury_conf_param.h	2000/12/03 02:22:51	1.44
+++ runtime/mercury_conf_param.h	2000/12/14 10:35:21
@@ -71,11 +71,16 @@
 **	Mercury floating point type (`MR_Float').
 **
 ** MR_USE_REGPARM:
-**	On x86, use a different (more efficient) calling convention.
+**	For the MLDS back-end (i.e. MR_HIGHLEVEL_CODE),
+**	on x86, use a different (more efficient) calling convention.
 **	This requires the use of a very recent version of gcc --
 **	more recent that gcc 2.95.2.
 **	For details, see the definition of the MR_CALL macro in
 **	runtime/mercury_std.h.
+**
+** MR_AVOID_MACROS:
+**	For the MLDS back-end (i.e. MR_HIGHLEVEL_CODE),
+**	use inline functions rather than macros for a few builtins.
 **
 ** PARALLEL
 **	Enable support for parallelism [not yet working].

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list