[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Aarch64 integer compare bug (#<) (#571)

Vanessa Freudenberg notifications at github.com
Thu Jun 17 18:57:55 UTC 2021


That is indeed a great test case that might help narrow it down:

If you "debug into it" you should see that primitive 3 failed for SmallInteger, and it falls back to Integer's version of `<`. If it doesn't, then it's either the JIT incorrectly short-circuiting the comparison, or primitive 3 incorrectly succeeding.

If instead you do see the super send (as is the case on Intel), then it must be primitive _primDigitCompare_ in LargeIntegers plugin. 

Very much sounds like a signed/unsigned problem.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/571#issuecomment-863488032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210617/c1e0eb20/attachment.html>


More information about the Vm-dev mailing list