VM Maker: VMMaker.oscog-eem.2568.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

VM Maker: VMMaker.oscog-eem.2568.mcz

Eliot Miranda uploaded a new version of VMMaker to project VM Maker:

==================== Summary ====================

Name: VMMaker.oscog-eem.2568
Author: eem
Time: 29 September 2019, 3:52:16.320731 pm
UUID: baa0b804-06fa-40fd-a87d-a9267b00ef76
Ancestors: VMMaker.oscog-eem.2567

Speed up machine code simulation on x64 & ARM

=============== Diff against VMMaker.oscog-eem.2567 ===============

Item was changed:
  ----- Method: CogARMCompiler>>wantsNearAddressFor: (in category 'simulation') -----
  wantsNearAddressFor: anObject
  "A hack hook to allow ARM to override the simulated address for the short-cut trampolines"
+ ^anObject == #ceShortCutTraceLinkedSend:
+ or: [anObject == #ceShortCutTraceBlockActivation:
+ or: [anObject == #ceShortCutTraceStore:]]!
- ^anObject isSymbol and: [anObject beginsWith: 'ceShortCut']!

Item was changed:
  ----- Method: CogX64Compiler>>wantsNearAddressFor: (in category 'simulation') -----
  wantsNearAddressFor: anObject
  "A hack hook to allow x64 to address CStackPointer and CFramePointer relative to VarBaseReg."
+ ^anObject == #CFramePointer or: [anObject == #CStackPointer]!
- ^anObject isSymbol and: ['C*Pointer' match: anObject]!