Skip to content

Commit 9a93229

Browse files
committed
Ignore the last commit message. It was just a merge. Git confused me.
CogVM source as per VMMaker.oscog-eem.2420 Spur: Extend semantics of primitives 165 & 166 (integerAt:[put:], signed indexing of 32-bit word classes) to byte, short and double word classes; actually, all classes; this is a signedversion of 60 & 61 basicAt:[put:]. Refactor CogObjectRepresentationFor32|64BitSpur genPrimitiveAt[Put] into genPrimitiveAt[Put]Signed:. Extend Ronie's support for sign extension to all processors, generating the simple move,signed shift sequence on processors without native sign extension (i.e. ARM). Added stats for Marking time and sweep time in full GC. Make them available as vm parameters 72 and 73. Now we have: fullGCTime = markingTime + scavengeTime + compactionTime With all but scavenge time available, but can be computed in-image from the 3 others. We note that compactionTime includes sweepTime for convenience. Depending on the compactor used, we have: Planning -> sweepTime = 0. Sweeper -> sweepTime = compactionTime. Selective -> selectiveCompactionTime = compactionTime - sweepTime Slang: Extend constant elimination/analysis for generate[Signed]BitShift:on:indent: so that isSignedInteger:inRangeForBits: generates a simple one-way shift for integer signedBitShift: 1 - nBits when inlined and nBits is a constant (see primitiveSpurIntegerAtPut). Simulator: Nuke some obsolete primitive experiments.
1 parent 469ea04 commit 9a93229

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+49441
-25522
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ platforms/unix/config/autom4te.cache/
9191
# /image/
9292
/image/*.sum
9393
/image/*.tgz
94+
/image/*.st
9495
/image/coglinux*
9596
/image/cogwin
9697
/image/Cog.app

nsspur64src/vm/cogit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated by
2-
CCodeGenerator VMMaker.oscog-eem.2401 uuid: 29232e0e-c9e3-41d8-ae75-519db862e02c
2+
CCodeGenerator VMMaker.oscog-eem.2420 uuid: f303796f-283f-4d4c-a910-bf205a0b4600
33
*/
44

55

nsspur64src/vm/cogitX64SysV.c

Lines changed: 663 additions & 413 deletions
Large diffs are not rendered by default.

nsspur64src/vm/cogitX64WIN64.c

Lines changed: 661 additions & 411 deletions
Large diffs are not rendered by default.

nsspur64src/vm/cointerp.c

Lines changed: 1076 additions & 569 deletions
Large diffs are not rendered by default.

nsspur64src/vm/cointerp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated by
2-
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2401 uuid: 29232e0e-c9e3-41d8-ae75-519db862e02c
2+
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2420 uuid: f303796f-283f-4d4c-a910-bf205a0b4600
33
*/
44

55

0 commit comments

Comments
 (0)