master: character-string-to-utf8-avx2: free up a register

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  63e9079dcf77a8d77a58ddbd8e34afa29074db0e (commit)
      from  f9075a0c2a84fa62f135a175c3b15fc0a6dc7915 (commit)

- Log -----------------------------------------------------------------
commit 63e9079dcf77a8d77a58ddbd8e34afa29074db0e
Author: Stas Boukarev <[email protected]>
Date:   Thu Aug 13 01:57:24 2026 +0300

    character-string-to-utf8-avx2: free up a register
---
 src/code/x86-64-simd.lisp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/code/x86-64-simd.lisp b/src/code/x86-64-simd.lisp
index 5ca4b7e88..09e474eb8 100644
--- a/src/code/x86-64-simd.lisp
+++ b/src/code/x86-64-simd.lisp
@@ -1539,7 +1539,6 @@
                         ((c-7f complex-double-reg))
                         ((c-ffff complex-double-reg))
                         ((c-d800 complex-double-reg))
-                        ((zero complex-double-reg))
 
                         ((multiplier unsigned-reg))
 
@@ -1662,8 +1661,6 @@
 
                    (inst mov multiplier #x0100040010004000)
 
-                   (inst vpxor zero zero zero)
-
                    (inst vmovdqu increment (register-inline-constant :avx2
                                                                      (concat-ub 32 (loop repeat 4 collect 4))))
 
@@ -1691,7 +1688,7 @@
                      (inst vpaddd temp temp t3)
 
                      ;; Negate
-                     (inst vpsubd temp zero temp)
+                     (inst vpabsd temp temp)
 
                      ;; Build an 8-bit index mask
                      ;; Narrow to 16 bits, making a 64-bit mask

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


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.