From patchwork Wed Apr 5 16:21:26 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: 1765646 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=QunownVO; 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 4Ps90D6Bjdz1yZT for ; Thu, 6 Apr 2023 02:22:52 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 529B93857736 for ; Wed, 5 Apr 2023 16:22:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 529B93857736 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680711770; bh=pSvyxlQ6eoll0hOkSOzAOf4sI4jpBrUzHx52J+pA72Y=; 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=QunownVOo3J6KG6bi7etkoR3w9YZqGYK/oUamY4lUvHM4NF1+byG0yrUi2ITrtbum iHlgxmJisdzH06+/wxjUY1LjTpDcFmoNGWG5ZfA+QVoIgPJV7N324rvyVEq5CUTOTs F6GuIxBMDeDdT1Awmyv7Wxesr27KRRZw3fQKt+8E= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by sourceware.org (Postfix) with ESMTPS id 5FB203858C50 for ; Wed, 5 Apr 2023 16:21:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5FB203858C50 Received: by mail-pj1-x102b.google.com with SMTP id r7-20020a17090b050700b002404be7920aso36002566pjz.5 for ; Wed, 05 Apr 2023 09:21:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680711707; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pSvyxlQ6eoll0hOkSOzAOf4sI4jpBrUzHx52J+pA72Y=; b=rzTEV0JpKRRrnUdl/5PPs7Mjo5wjGLgrd9aeHkSKMSspoWd5UskDq83MMyYKMCA4l1 ewzOzvUg7pk2ICqsD1V4Q9x1ZoLH7An3lgpUMF44VlR/W+IsNnNRUCu4/NQc9mL87dFC jVEr1JBvZ3AoqnaaHl4G336RcfaaWt1q22Ldd8iNi8Ir6+lCyPhEgRcHvf+vKvReFI2D WTALM8y5/e5ib7m3opRxAY259PALTf7OzLVQBc/t8ng9llUKn4UU3RZ1pdLeBO3yaARw p6y908AUAxCP1XbBo+bhrdnxiE11z4bEqvuHrKtzseucWV8YpyjPm4kl6J8Pxqc085yG 9LFA== X-Gm-Message-State: AAQBX9c5l+PL5brUv2J2aqFzOGnmOsvtDsGCevQNPRzR/qNt/Ub4lSk9 LA/7mYPRYX/iPa6D6J+2dJ3oKM9J3EQ= X-Google-Smtp-Source: AKy350ZHpERWBlLe3tg4Hr/DzdnMCv+gcC1ffpvVLVShtXsevgKe/dcVtkBbP3/ifZWho76gw3B+zA== X-Received: by 2002:a17:902:f20c:b0:1a2:88c5:d337 with SMTP id m12-20020a170902f20c00b001a288c5d337mr6073428plc.22.1680711707159; Wed, 05 Apr 2023 09:21:47 -0700 (PDT) Received: from gnu-cfl-3.localdomain ([172.59.161.240]) by smtp.gmail.com with ESMTPSA id a17-20020a170902ee9100b001a24cded097sm10304372pld.236.2023.04.05.09.21.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 09:21:45 -0700 (PDT) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 72571740096 for ; Wed, 5 Apr 2023 09:21:44 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH 01/19] : Rename to x86_cpu_INDEX_7_ECX_15 Date: Wed, 5 Apr 2023 09:21:26 -0700 Message-Id: <20230405162144.984598-2-hjl.tools@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230405162144.984598-1-hjl.tools@gmail.com> References: <20230405162144.984598-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3024.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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" Rename x86_cpu_INDEX_7_ECX_1 to x86_cpu_INDEX_7_ECX_15 for the unused bit 15 in ECX from CPUID with EAX == 0x7 and ECX == 0. Reviewed-by: Noah Goldstein --- sysdeps/x86/bits/platform/x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86/bits/platform/x86.h b/sysdeps/x86/bits/platform/x86.h index 25a970b185..1ed24d7024 100644 --- a/sysdeps/x86/bits/platform/x86.h +++ b/sysdeps/x86/bits/platform/x86.h @@ -181,7 +181,7 @@ enum x86_cpu_AVX512_BITALG = x86_cpu_index_7_ecx + 12, x86_cpu_INDEX_7_ECX_13 = x86_cpu_index_7_ecx + 13, x86_cpu_AVX512_VPOPCNTDQ = x86_cpu_index_7_ecx + 14, - x86_cpu_INDEX_7_ECX_1 = x86_cpu_index_7_ecx + 15, + x86_cpu_INDEX_7_ECX_15 = x86_cpu_index_7_ecx + 15, x86_cpu_INDEX_7_ECX_16 = x86_cpu_index_7_ecx + 16, /* Note: Bits 17-21: The value of MAWAU used by the BNDLDX and BNDSTX instructions in 64-bit mode. */