[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] incorrect Spur64 genJumpNotSmallIntegerValue:scratch: bugs SmallInteger minVal / -1 (#415)

David T. Lewis lewis at mail.msen.com
Sun Aug 25 02:33:57 UTC 2019


On Sat, Aug 24, 2019 at 02:44:01PM -0700, Nicolas Cellier wrote:
>  
> For the sake of archeology, I detected similar bug in 2012 for legacy interpreter
> See thread **[Vm-dev] 3 Bugs in LargeInteger primitives**
> http://lists.squeakfoundation.org/pipermail/vm-dev/2012-August/011161.html
>

Thanks for these archeology links, it is very helpful.

Sorry I don't recall the history of this issue, but the bugs that you
identified in 2012 for legacy interpreter do not seem to be present
in the interpreter VM today. I am assuming this is because you 
fixed those issues in VMMaker afterwards, is that right?

Here is what I see on my system today (interpreter VM, Ubuntu Linux,
gcc compiler):

((1<<63) negated quo: -1) hex. =>  '16r8000000000000000'
((1<<63) negated / -1) hex. => '16r8000000000000000'
((1<<63) negated * -1) hex. => '16r8000000000000000'
((1<<63) negated // -1) hex. => '16r8000000000000000'

Dave
 


More information about the Vm-dev mailing list