From patchwork Fri Feb 4 19:11:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 50810 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9A4E4385840E for ; Fri, 4 Feb 2022 19:13:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A4E4385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1644001986; bh=DY2goF6A3Sjj0ItjZD1qsVModz1IjGE0eGBzWVqzAnE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=c75PWrexkpSbWAQC8UKKRCx8mfgNqX49xUCvG+0JT/D1pNifFuW8DKTMdMdgVi/cD u8TcSAcfEUEFzkuzzOg5mxwNLz+GO7Ngn6rVnRnxVtkbH5aMW36BYa0rEWcsmACEAT iz/p6DiBxXqHt1LwyOgRFT6vdjKJ5oCE+5yQInPc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by sourceware.org (Postfix) with ESMTPS id 52A6C3858D35 for ; Fri, 4 Feb 2022 19:12:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 52A6C3858D35 Received: by mail-pg1-x534.google.com with SMTP id f8so5779526pgf.8 for ; Fri, 04 Feb 2022 11:12:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DY2goF6A3Sjj0ItjZD1qsVModz1IjGE0eGBzWVqzAnE=; b=Dd9495YywC6zLhgYLtfEE4WhqXlfmAt8L926KPuYv98fY0U1E3jgYPKn9g2buMuhK9 hAV17wchKpgt2On1YLhNTmzUubdgbt899EcMAcfv4h4aaQAisl65QOyRitXPabWuCojJ gwZYjGt9c0qCHbks8EN6jSV6SV+PgqPZfT+BJiEPYNt8Gm539I2cjIOOz7CQARH0TpFw PcnPoJ9d+LNwYYnF/Ufvy7W9mjQ6RW7IposnllPAj1Tz1LYalUTIG6ACuYIbIhzmnRi0 NgS2iEZvy6lK/uiPPA0RNb5VMOfVEBtnRCdqtpjVWwHLet30fY3EpeE6Mg4eCVnRL6Hv c4WA== X-Gm-Message-State: AOAM5310ozFKX/da+KhIZZNW1NEI5S8imErtp64Ntb/pmbUh5TeUgOw7 TXJPW+uwwwbLkvohaauuxtQ= X-Google-Smtp-Source: ABdhPJxLkeDWg6tw61+wO8s4//5lWypGRaMeizf1ks+Bbk2rttcfkmwh1p424xV7UHwrHNGqGK7n/Q== X-Received: by 2002:a05:6a00:2355:: with SMTP id j21mr4601035pfj.50.1644001922401; Fri, 04 Feb 2022 11:12:02 -0800 (PST) Received: from gnu-tgl-2.localdomain ([172.58.38.240]) by smtp.gmail.com with ESMTPSA id mw14sm3132396pjb.6.2022.02.04.11.12.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 11:12:01 -0800 (PST) Received: from gnu-tgl-2.. (localhost [IPv6:::1]) by gnu-tgl-2.localdomain (Postfix) with ESMTP id A2ACB3004A3; Fri, 4 Feb 2022 11:12:00 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH 1/2] x86-64: Fix strcmp-avx2.S Date: Fri, 4 Feb 2022 11:11:59 -0800 Message-Id: <20220204191200.73982-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3029.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Change "movl %edx, %rdx" to "movl %edx, %edx" in: commit b77b06e0e296f1a2276c27a67e1d44f2cfa38d45 Author: Noah Goldstein Date: Mon Jan 10 15:35:38 2022 -0600 x86: Optimize strcmp-avx2.S --- sysdeps/x86_64/multiarch/strcmp-avx2.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86_64/multiarch/strcmp-avx2.S b/sysdeps/x86_64/multiarch/strcmp-avx2.S index 28d6a0025a..99e5349be8 100644 --- a/sysdeps/x86_64/multiarch/strcmp-avx2.S +++ b/sysdeps/x86_64/multiarch/strcmp-avx2.S @@ -106,7 +106,7 @@ ENTRY(STRCMP) # ifdef USE_AS_STRNCMP # ifdef __ILP32__ /* Clear the upper 32 bits. */ - movl %edx, %rdx + movl %edx, %edx # endif cmp $1, %RDX_LP /* Signed comparison intentional. We use this branch to also From patchwork Fri Feb 4 19:12:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 50809 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E423A3858C20 for ; Fri, 4 Feb 2022 19:12:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E423A3858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1644001944; bh=8CmUx5Opdk40q3reyGNR+7id3I7JjcW+2BW76DI2UNw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=x2kLO0n17XowXOPaInleDafRmugE1EHjp/5bROxU/ofbndoD2NiMtIep/x/aoR9d8 ahZNMl5EhoRg/jcgojNnO7mA/8rXfqDsg+ZQpi2k9XTaOM5/YC91mM9HXM11rBQ3Qt xiD4cSo+ltVtKuBcPZyX0tulhnvwb2chBbfOgzKc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id 42F0F3858D20 for ; Fri, 4 Feb 2022 19:12:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 42F0F3858D20 Received: by mail-pj1-x1034.google.com with SMTP id s2-20020a17090ad48200b001b501977b23so13958210pju.2 for ; Fri, 04 Feb 2022 11:12:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8CmUx5Opdk40q3reyGNR+7id3I7JjcW+2BW76DI2UNw=; b=OZ6jkhQAPN1NDnHKLl1i/CIEf3d3xhpDcE8VNP4KN9+wTJCegHy/OwrWNZP/lTv3sw m5KwqQNG4VfUDqrR/da5cAGkCnY8jNOp+UxWv0QE3WOjTNH2t+vFwnm3aZiNxUR8AgMA ytnMaIra4dzk89e6tt5fBvtWrqOCEe5ZG5j7+je+QsskSKHecbtKO+dRRM0upoU0oNiS pdaPbeiJLdeq1ldTOFJ+0oeaT977KK1bw0dhwfptvKJ99e6y8N/npebs64jDgS8r7lO7 ehlpjnKopV4LRha/xfwvLIEGbdhzy05gn6UvSJf3bV8fQX5vJM/peIw5hzH1o5aLufYk xOig== X-Gm-Message-State: AOAM530kFw9kAnBEAqfCSVXE3FdePely1IZ5A1ryUBznK5vYXh7bND3p 5NqnhCfsRZSTwoCYJ9Amuhm7yEjwRJo= X-Google-Smtp-Source: ABdhPJwTaXKTwkx8JFjW+9zYY+99nOpLturjOg+RxtrKz7J7gdRHW8DcCVZbI+PBFxbiCwmgP0s5fQ== X-Received: by 2002:a17:902:8205:: with SMTP id x5mr4477445pln.29.1644001922178; Fri, 04 Feb 2022 11:12:02 -0800 (PST) Received: from gnu-tgl-2.localdomain ([172.58.38.240]) by smtp.gmail.com with ESMTPSA id t2sm3395124pfj.211.2022.02.04.11.12.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 11:12:01 -0800 (PST) Received: from gnu-tgl-2.. (localhost [IPv6:::1]) by gnu-tgl-2.localdomain (Postfix) with ESMTP id A3B183004A7; Fri, 4 Feb 2022 11:12:00 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH 2/2] x86-64: Fix strcmp-evex.S Date: Fri, 4 Feb 2022 11:12:00 -0800 Message-Id: <20220204191200.73982-2-hjl.tools@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220204191200.73982-1-hjl.tools@gmail.com> References: <20220204191200.73982-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3029.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Change "movl %edx, %rdx" to "movl %edx, %edx" in: commit 8418eb3ff4b781d31c4ed5dc6c0bd7356bc45db9 Author: Noah Goldstein Date: Mon Jan 10 15:35:39 2022 -0600 x86: Optimize strcmp-evex.S --- sysdeps/x86_64/multiarch/strcmp-evex.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86_64/multiarch/strcmp-evex.S b/sysdeps/x86_64/multiarch/strcmp-evex.S index e5070f3d53..6f42e3155a 100644 --- a/sysdeps/x86_64/multiarch/strcmp-evex.S +++ b/sysdeps/x86_64/multiarch/strcmp-evex.S @@ -116,7 +116,7 @@ ENTRY(STRCMP) # ifdef USE_AS_STRNCMP # ifdef __ILP32__ /* Clear the upper 32 bits. */ - movl %edx, %rdx + movl %edx, %edx # endif cmp $1, %RDX_LP /* Signed comparison intentional. We use this branch to also