[m-dev.] deep profiling issues

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Jun 26 12:27:05 AEST 2001

I just noticed some bugs with deep profiling

	(1) the profdeep grade is built even if deep profiling is not enabled

	(2) I think the binary distribution doesn't install the deep profiling
	    scripts or executables

	(3) on hg, using egcs-1.1, building the library in the profdeep
	    grade results in a gcc error:

MERCURY_INT_DIR=. MERCURY_ALL_C_INCL_DIRS=" -I../trace -I../runtime -I../boehm_g
c -I../boehm_gc/include " mmc --compile-to-c --trace minimum --transitive-interm
odule-optimization  --grade asm_fast.gc.profdeep     --no-infer-all --halt-at-wa
rn -O4 --opt-space   random.m > random.err 2>&1
MERCURY_INT_DIR=. MERCURY_ALL_C_INCL_DIRS=" -I../trace -I../runtime -I../boehm_g
c -I../boehm_gc/include " ../scripts/mgnuc --grade asm_fast.gc.profdeep      --c
-debug       -c random.c -o random.o
random.c: In function `random_module9':
random.c:1405: fixed or forbidden register 3 (bx) was spilled for class GENERAL_
This may be due to a compiler bug or to impossible asm
statements or clauses.
gmake[1]: *** [random.o] Error 1

I've just committed a fix for (1).
Zoltan, could you please have a look at (2)?

I'm not sure what to do about (3).

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  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