Skip to content

Commit

Permalink
CogVM source as per VMMaker.oscog-eem.3498
Browse files Browse the repository at this point in the history
Refactor to eliminate Cogit>>Call[Full]RT:registersToBeSavedMask:
in favour of CallAnyFixedRT: (which can generate better code) and
saveRegistersInMask:around:.

Fix the order of register saving and marshalling in
CogObjectRepresentationForSpur>>compileInvokeCENewHashOf

Rename genAlignCStackSavingRegisters:numArgs:wordAlignment: to
genAlignCStackGivenRegistersToBeSaved:numArgs:wordAlignment: for comprehensibility.
  • Loading branch information
eliotmiranda committed Jan 3, 2025
1 parent 986b48d commit 0105183
Show file tree
Hide file tree
Showing 25 changed files with 2,592 additions and 1,687 deletions.
2 changes: 1 addition & 1 deletion image/Slang Test Workspace.text

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/spur32.cog.lowcode/cogit.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Automatically generated by
CCodeGenerator VMMaker.oscog-eem.3497 uuid: 0026bd79-6c6f-4506-8a6e-7c4b53a05d53
(* Compiler-eem.512)
CCodeGenerator VMMaker.oscog-eem.3498 uuid: ce1d449c-dce2-4a67-8f5c-ed97c35f603f
(Compiler-eem.513)
*/


Expand Down
339 changes: 232 additions & 107 deletions src/spur32.cog.lowcode/cogitARMv5.c

Large diffs are not rendered by default.

267 changes: 143 additions & 124 deletions src/spur32.cog.lowcode/cogitIA32.c

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/spur32.cog/cogit.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Automatically generated by
CCodeGenerator VMMaker.oscog-eem.3497 uuid: 0026bd79-6c6f-4506-8a6e-7c4b53a05d53
(* Compiler-eem.512)
CCodeGenerator VMMaker.oscog-eem.3498 uuid: ce1d449c-dce2-4a67-8f5c-ed97c35f603f
(Compiler-eem.513)
*/


Expand Down
Loading

0 comments on commit 0105183

Please sign in to comment.