[Openmcl-devel] how does one cause stack-allocation for floats?
james anderson
janderson at ravenpack.com
Tue Mar 28 03:07:50 PST 2006
hello;
i last asked about this months (years?) ago and recall that the
answer was, "eventually".
unfortunately, that mail archive is not any more and, fortunately,
open-mcl is at least .5 versions further, so i ask again.
?
1. how does one get open-mcl to stack-allocate floats?
i was not able to find any suggestions in the documentation, so, if i
missed it, please send the pointer.
2. is the timing difference just consing overhead?
i enclose a simple test file. nothing obvious seems to work.
a listener transcript follows and the file is attached below.
thanks,
...
--------------
Last login: Mon Mar 27 21:59:05 on ttyp5
/Applications/LISP/openmcl/ccl-1.0/dppccl64; exit
Welcome to Darwin!
dev219-m:~ janderson$ /Applications/LISP/openmcl/ccl-1.0/dppccl64; exit
Welcome to OpenMCL Version 1.0 (Beta: DarwinPPC64)!
? (compile-file "/Volumes/slapl01/Home/janderson/Source/ravenpack-dev/
EconoRavenLisp/tests/float-tests.lisp")
#P"/Volumes/slapl01/Home/janderson/Source/ravenpack-dev/
EconoRavenLisp/tests/float-tests.d64fsl"
NIL
NIL
? (load *)
(TEST-SINGLE-HEAP 1.0 1000000) took 87 milliseconds (0.087 seconds)
to run.
Of that, 85 milliseconds (0.085 seconds) were spent in user mode
0 milliseconds (0.000 seconds) were spent in system mode
2 milliseconds (0.002 seconds) were spent executing other
OS processes.
(TEST-SINGLE-STACK 1.0 1000000) took 55 milliseconds (0.055 seconds)
to run.
Of that, 53 milliseconds (0.053 seconds) were spent in user mode
0 milliseconds (0.000 seconds) were spent in system mode
2 milliseconds (0.002 seconds) were spent executing other
OS processes.
(TEST-DOUBLE-HEAP 1.0D0 1000000) took 113 milliseconds (0.113
seconds) to run.
Of that, 62 milliseconds (0.062 seconds) were spent in user mode
26 milliseconds (0.026 seconds) were spent in system mode
25 milliseconds (0.025 seconds) were spent executing other
OS processes.
4 milliseconds (0.004 seconds) was spent in GC.
32,000,016 bytes of memory allocated.
(TEST-DOUBLE-STACK 1.0D0 1000000) took 104 milliseconds (0.104
seconds) to run.
Of that, 40 milliseconds (0.040 seconds) were spent in user mode
23 milliseconds (0.023 seconds) were spent in system mode
41 milliseconds (0.041 seconds) were spent executing other
OS processes.
3 milliseconds (0.003 seconds) was spent in GC.
32,000,000 bytes of memory allocated.
#P"/Volumes/slapl01/Home/janderson/Source/ravenpack-dev/
EconoRavenLisp/tests/float-tests.d64fsl"
?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: float-tests.lisp
Type: application/applefile
Size: 549 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20060328/848e58fe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: float-tests.lisp
Type: application/octet-stream
Size: 2044 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20060328/848e58fe/attachment.obj>
More information about the Openmcl-devel
mailing list