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.r3144.

Apologies; the 3143 VMs were broken.

CogVM binaries as per VMMaker.oscog-eem.950/r3144

Fix regression in new primitiveBitShift.
Introduce >>> as an explicitly signed shift.
64-bit ize magnitude64BitIntegerFor:neg:,
positive64BitIntegerFor: & signed64BitIntegerFor:
--
best,
Eliot


Reply | Threaded
Open this post in threaded view
|

Re: New Cog VMs available

Eliot Miranda-2


On Fri, Nov 21, 2014 at 4:08 PM, Eliot Miranda <[hidden email]> wrote:
... at http://www.mirandabanda.org/files/Cog/VM/VM.r3144.

Apologies; the 3143 VMs were broken.

and I'm sorry to say the  3144 look broken too.  I suspect the VM is not correctly normalizing bit-operations on large integers into SmallIntegers as expected.


CogVM binaries as per VMMaker.oscog-eem.950/r3144

Fix regression in new primitiveBitShift.
Introduce >>> as an explicitly signed shift.
64-bit ize magnitude64BitIntegerFor:neg:,
positive64BitIntegerFor: & signed64BitIntegerFor:
--
best,
Eliot



--
best,
Eliot


Reply | Threaded
Open this post in threaded view
|

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

Levente Uzonyi-2
On Fri, 21 Nov 2014, Eliot Miranda wrote:

> and I'm sorry to say the  3144 look broken too.  I suspect the VM is not
> correctly normalizing bit-operations on large integers into SmallIntegers
> as expected.

I can confirm that. The FilePlugin is unhappy to receive such integers as
file position[1]. The same is true for primitive 71 (#basicNew:) which
sometimes signals OutOfMemory error for such arguments[2].
I managed to create a broken .mcz with the VM, without getting any errors.

Levente

[1]
SourceFiles second readOnlyCopy position: (LargePositiveInteger new: 4).
"==> primitiveFailed"

[2]
ByteArray basicNew: (LargePositiveInteger new: 1). "==> OutOfMemory"
ByteArray basicNew: (LargePositiveInteger new: 4). "==> #[]"