<p></p>
<p>That is indeed a great test case that might help narrow it down:</p>
<p>If you "debug into it" you should see that primitive 3 failed for SmallInteger, and it falls back to Integer's version of <code><</code>. If it doesn't, then it's either the JIT incorrectly short-circuiting the comparison, or primitive 3 incorrectly succeeding.</p>
<p>If instead you do see the super send (as is the case on Intel), then it must be primitive <em>primDigitCompare</em> in LargeIntegers plugin.</p>
<p>Very much sounds like a signed/unsigned problem.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/571#issuecomment-863488032">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW7XXJRCYACD7HQPFZTTTJATHANCNFSM462PIHAQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEWZAJWBQVDQ5232XFW3TTJATHA5CNFSM462PIHA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGN34QIA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/571#issuecomment-863488032",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/571#issuecomment-863488032",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>