master: arm64: use a flagged :conditional %digit-0-or-plusp VOP

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  e60afcbe4e5d699e8868c3026d58e36b3502260b (commit)
      from  ba19daa02493847a4353ddb7bd374413889cfa12 (commit)

- Log -----------------------------------------------------------------
commit e60afcbe4e5d699e8868c3026d58e36b3502260b
Author: Stas Boukarev <[email protected]>
Date:   Sun Aug 30 12:44:12 2026 +0300

    arm64: use a flagged :conditional %digit-0-or-plusp VOP
---
 src/compiler/arm64/arith.lisp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/compiler/arm64/arith.lisp b/src/compiler/arm64/arith.lisp
index cfbbbdd36..4d5c740fa 100644
--- a/src/compiler/arm64/arith.lisp
+++ b/src/compiler/arm64/arith.lisp
@@ -1741,11 +1741,9 @@
   (:policy :fast-safe)
   (:args (digit :scs (unsigned-reg)))
   (:arg-types unsigned-num)
-  (:conditional)
-  (:info target not-p)
+  (:conditional :ge)
   (:generator 2
-    (inst cmp digit 0)
-    (inst b (if not-p :lt :ge) target)))
+    (inst cmp digit 0)))
 
 (define-vop (add-w/carry)
   (:translate sb-bignum:%add-with-carry)

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


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.