New Cog VMs available...

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

New Cog VMs available...

Eliot Miranda-2
... at http://www.mirandabanda.org/files/Cog/VM/VM.r3427.

Squeak V5 users will want to upgrade their VMs because they, along with Smalltalk changes to follow soon, fix image segments.  But upgrading is not a trivial process because the VMs on my site are not complete.  The best way to update is to take a copy of the Squeak 5.0 all-in-one and replace the main VM executable there-in with one from my site.  This gets you up-to-date plugins and an up-to-date VM.  I hope that this process will get easier soon.


------------------------------------------------------------------------
CogVM binaries as per VMMaker.oscog-eem.1441/r3427

Modify Spur ImageSegment load to become the segmentWordArray into an Array of
the loaded objects if load is successful, hence decoupling ImageSegment from
the assumption that objects are allocated in order.

Fix Integer receiver, float arg comparison with NaNs in the machine-code
primitive.  This has started failing in the FloatTest>>testNaNCompare since the
new machine-code perform primitive invoked the machine-code version of the
primitive.  The Interpretewr code has always been correct and the old perform
primitive would always run the Interpreter primitive if it exsted, since this
would probably be faster.

Fix the bug introduced by the fix to primitive function invocation in
VMMaker.oscog-eem.1351  The fix correctly changed primitve code to set the
primitiveFunctionPointer appropriately when a jitted external primitive was
rebound, but it didn't remember to void the jit's record of the offset of the
assignment that sets the primitiveFunctionPointer when switching between
profiling andf non-profiling regimes, so that the address from the wrong regime
would remain and be used to smash prmitive code.  The fix is simply to void the
externalSetPrimOffsets in voidCogCompiledCode.  This fixes the bug whose
symptom is a hard VM crash when using AndreasSystemProfilier.

Integrate Marcel Taeumel & Tobias Pape's v2 SSL plugin changes.

Fix negative 64-bit shift in the 64-bit Spur Stack interpreter.

Newspeak:
Fix MNU for cogged self and outer sends.

Make the Newspeak VM packager include the V50 sources file instead of V41.

_,,,^..^,,,_
best, Eliot

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] New Cog VMs available...

J. Vuletich (mail lists)
Thanks Eliot!

It works great, and indeed it fixes the issue with  
AndreasSystemProfiler I had reported.

Cheers,
Juan Vuletich

Quoting Eliot Miranda <[hidden email]>:

>




_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New Cog VMs available...

Juan Vuletich-4
In reply to this post by Eliot Miranda-2
Works like a charm.

Thanks a lot!

Cheers,
Juan Vuletich

On 8/22/2015 1:38 PM, Eliot Miranda wrote:
... at http://www.mirandabanda.org/files/Cog/VM/VM.r3427.

Squeak V5 users will want to upgrade their VMs because they, along with Smalltalk changes to follow soon, fix image segments.  But upgrading is not a trivial process because the VMs on my site are not complete.  The best way to update is to take a copy of the Squeak 5.0 all-in-one and replace the main VM executable there-in with one from my site.  This gets you up-to-date plugins and an up-to-date VM.  I hope that this process will get easier soon.


------------------------------------------------------------------------
CogVM binaries as per VMMaker.oscog-eem.1441/r3427

Modify Spur ImageSegment load to become the segmentWordArray into an Array of
the loaded objects if load is successful, hence decoupling ImageSegment from
the assumption that objects are allocated in order.

Fix Integer receiver, float arg comparison with NaNs in the machine-code
primitive.  This has started failing in the FloatTest>>testNaNCompare since the
new machine-code perform primitive invoked the machine-code version of the
primitive.  The Interpretewr code has always been correct and the old perform
primitive would always run the Interpreter primitive if it exsted, since this
would probably be faster.

Fix the bug introduced by the fix to primitive function invocation in
VMMaker.oscog-eem.1351  The fix correctly changed primitve code to set the
primitiveFunctionPointer appropriately when a jitted external primitive was
rebound, but it didn't remember to void the jit's record of the offset of the
assignment that sets the primitiveFunctionPointer when switching between
profiling andf non-profiling regimes, so that the address from the wrong regime
would remain and be used to smash prmitive code.  The fix is simply to void the
externalSetPrimOffsets in voidCogCompiledCode.  This fixes the bug whose
symptom is a hard VM crash when using AndreasSystemProfilier.

Integrate Marcel Taeumel & Tobias Pape's v2 SSL plugin changes.

Fix negative 64-bit shift in the 64-bit Spur Stack interpreter.

Newspeak:
Fix MNU for cogged self and outer sends.

Make the Newspeak VM packager include the V50 sources file instead of V41.

_,,,^..^,,,_
best, Eliot
_______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org