From patchwork Thu Jun 1 15:53:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1789190 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Y630VMpT; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QX9fW55WJz20QH for ; Fri, 2 Jun 2023 01:53:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A6BC93857013 for ; Thu, 1 Jun 2023 15:53:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6BC93857013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685634833; bh=Xvbh2uC3PCo8wKbfI5wXR9hM3LCJjkCk15anMc48ICc=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=Y630VMpTuBhYtRwEshL+oBfJOb7dA4VfGCPkSWlj7MDrs/0aH/l8zHL6Xfon+h5GF 8uUnPpt/n4lTwnN6MJyP52bY2AmACAvZCIhKv9eChGL7CPZw6nzfrjmoqtXjqaDn3A j4AoZoP5Zq3cD7qNgXZta8T7fqQ9FWa3zoYcZOfA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 8EF673858401 for ; Thu, 1 Jun 2023 15:53:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8EF673858401 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1b02fcde49aso5470035ad.0 for ; Thu, 01 Jun 2023 08:53:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685634817; x=1688226817; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xvbh2uC3PCo8wKbfI5wXR9hM3LCJjkCk15anMc48ICc=; b=lijm3U687QEkxOqOfD7412bNuJghr07Q1ViP7L7nlyPKoFlvLKME9C0rdynAafPRx+ +6DLma+dNk4XVkoJDYF8ecNkajMjnA9DfBi4n8Lsli6CEMLMYOSuAQswvvKO8WDRLfcN Fj08M6kM+f328AzZ2JJe8QDcUOYKFDT604aOTBitzQqEhI9MM+OND8RI+J5oVydFdN2r w/u1LqYiSV7DiYvl3PEpy+w4MPspImuOnJXFljI7+Qe3fh8+YyJmMqzyEnqw7ra4RVGq VQsOoz4FSgtuhfnY49fT5aL96bmIf+QDJ6dhJ0i+AMQZ8A1lAHZVzSExqjNbE0nWLU4K B7EA== X-Gm-Message-State: AC+VfDxBCpe7je/+1XUaQZiHsfEbhmDVtsn9/d4R56HVNClpNEpx6q6X wFxGEbM5HcHTpwH4WwIgjhA= X-Google-Smtp-Source: ACHHUZ5QmBf3TKlmEAQ8BC4VBmIXnazg/zfnlM1/TIXk2/TgR/gvvxH086thGYWfDv53llc56MrVfA== X-Received: by 2002:a17:903:2445:b0:1a9:bdf8:f551 with SMTP id l5-20020a170903244500b001a9bdf8f551mr7199401pls.69.1685634817341; Thu, 01 Jun 2023 08:53:37 -0700 (PDT) Received: from gnu-cfl-3.localdomain ([172.59.160.123]) by smtp.gmail.com with ESMTPSA id m12-20020a170902bb8c00b001a060007fcbsm3621764pls.213.2023.06.01.08.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:53:37 -0700 (PDT) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 08C2D740152; Thu, 1 Jun 2023 08:53:36 -0700 (PDT) To: libc-alpha@sourceware.org Cc: Noah Goldstein , Sunil K Pandey , Florian Weimer Subject: [PATCH v2] x86-64: Use YMM registers in memcmpeq-evex.S Date: Thu, 1 Jun 2023 08:53:35 -0700 Message-Id: <20230601155335.71684-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3025.2 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Since the assembly source file with -evex suffix should use YMM registers, not ZMM registers, include x86-evex256-vecs.h by default to use YMM registers in memcmpeq-evex.S Reviewed-by: Noah Goldstein --- sysdeps/x86_64/multiarch/memcmpeq-evex.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86_64/multiarch/memcmpeq-evex.S b/sysdeps/x86_64/multiarch/memcmpeq-evex.S index 3666f649cd..7eefff77f1 100644 --- a/sysdeps/x86_64/multiarch/memcmpeq-evex.S +++ b/sysdeps/x86_64/multiarch/memcmpeq-evex.S @@ -42,7 +42,7 @@ # endif # ifndef VEC_SIZE -# include "x86-evex512-vecs.h" +# include "x86-evex256-vecs.h" # endif # include "reg-macros.h"