master: arm64/simd-utf8-strlen: use a different register

stassats via Sbcl-commits <[email protected]> Fri, 26 Jun 2026 01:47:39 +0000
Newsgroups gmane.lisp.steel-bank.cvs
Message-ID <[email protected]>
The branch "master" has been updated in SBCL:
       via  140cb5c4796f5a479ce2e39e4a75b13f9989a72d (commit)
      from  31404b70cbbf1bb2c2c8fd5e5d1832764eee60ab (commit)

- Log -----------------------------------------------------------------
commit 140cb5c4796f5a479ce2e39e4a75b13f9989a72d
Author: Stas Boukarev <[email protected]>
Date:   Fri Jun 26 04:44:39 2026 +0300

    arm64/simd-utf8-strlen: use a different register
---
 src/code/arm64-simd.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/code/arm64-simd.lisp b/src/code/arm64-simd.lisp
index 2e78a8516..3df63084f 100644
--- a/src/code/arm64-simd.lisp
+++ b/src/code/arm64-simd.lisp
@@ -1295,9 +1295,9 @@
     (flet ((validate ()
              (assemble ()
                ;; Skip an all-ASCII block
-               (inst orr tmp1 current prev :16b)
-               (inst umaxv tmp1 tmp1 :16b)
-               (inst fmov tmp (reg-in-sc tmp1 'single-reg))
+               (inst orr tmp2 current prev :16b)
+               (inst umaxv tmp2 tmp2 :16b)
+               (inst fmov tmp (reg-in-sc tmp2 'single-reg))
                (inst tbz tmp 7 VALIDATED)
 
                ;; The Keiser, Lemire algorithm

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


hooks/post-receive
-- 
SBCL