master: arm64: fix a potential issue with fast-ash-c/signed=>signed

stassats via Sbcl-commits <[email protected]>
Newsgroups gmane.lisp.steel-bank.cvs
Message-ID <[email protected]>
The branch "master" has been updated in SBCL:
       via  97ecfac9da1b0f77fda2898f91385c083a5159b1 (commit)
      from  d81da0bd3fd665cbe99b26878b2fcfd1e4b29915 (commit)

- Log -----------------------------------------------------------------
commit 97ecfac9da1b0f77fda2898f91385c083a5159b1
Author: Stas Boukarev <[email protected]>
Date:   Mon Apr 20 23:28:47 2026 +0300

    arm64: fix a potential issue with fast-ash-c/signed=>signed
    
    Which can't be triggered due to VOP selection.
---
 src/compiler/arm64/arith.lisp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/arm64/arith.lisp b/src/compiler/arm64/arith.lisp
index 4a1a4ea90..c4a2ab06e 100644
--- a/src/compiler/arm64/arith.lisp
+++ b/src/compiler/arm64/arith.lisp
@@ -645,7 +645,7 @@
            (if (plusp amount)
                (inst lsl result number amount)
                (inst asr result number (- amount))))
-          ((= amount 64)
+          ((> amount 0)
            (inst mov result 0))
           (t
            (inst asr result number 63)))))

-----------------------------------------------------------------------


hooks/post-receive
-- 
SBCL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.