master: arm64, simd-copy-character-string-to-utf8: use correct lane width

stassats via Sbcl-commits <[email protected]> Thu, 25 Jun 2026 00:57:18 +0000
Newsgroups gmane.lisp.steel-bank.cvs
Message-ID <[email protected]>
The branch "master" has been updated in SBCL:
       via  c217354fa1d9fa58b4c069496ffe48b1d6b87ab0 (commit)
      from  20da80749a82cb6b51d93326b44562879a08f987 (commit)

- Log -----------------------------------------------------------------
commit c217354fa1d9fa58b4c069496ffe48b1d6b87ab0
Author: Stas Boukarev <[email protected]>
Date:   Thu Jun 25 03:55:47 2026 +0300

    arm64, simd-copy-character-string-to-utf8: use correct lane width
---
 src/code/arm64-simd.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/code/arm64-simd.lisp b/src/code/arm64-simd.lisp
index f39fb441a..f871f4fe9 100644
--- a/src/code/arm64-simd.lisp
+++ b/src/code/arm64-simd.lisp
@@ -948,8 +948,8 @@
             (loop for bytes in (list bytes bytes2 bytes3 bytes4)
                   do
                   (inst cmeq temp bytes newlines :4s)
-                  (inst bit last-newlines indexes temp :16b)
-                  (inst add indexes indexes increment :16b))
+                  (inst bit last-newlines indexes temp :4s)
+                  (inst add indexes indexes increment :4s))
 
             (inst add 32-bit-array 32-bit-array 64)
 

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


hooks/post-receive
-- 
SBCL