Message ID | 20230405162144.984598-2-hjl.tools@gmail.com |
---|---|
State | Committed |
Commit | 2d8c590a5e9bfe1344b638c897c7d731365cfaca |
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> 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 4DB533850852 for <patchwork@sourceware.org>; Wed, 5 Apr 2023 16:22:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DB533850852 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680711777; 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=i02KQ22MPxrCycnlaVsy5K/SLB50rTRiL/L2qi5/ujTtGteaHkZFitCAXvTeAxELJ kbYt/UNwlNCpAh2RvJWfU37N/JNWnCDGC8YC0R5kbmF9pwPBaZVfjEPQ78tkA72pF+ djHjlE0Tx9wFMfl8oOkQMVlJoX7gAf5bhUVBZsJc= 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 <libc-alpha@sourceware.org>; 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 <libc-alpha@sourceware.org>; 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 <libc-alpha@sourceware.org> (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 <libc-alpha@sourceware.org>; Wed, 5 Apr 2023 09:21:44 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH 01/19] <bits/platform/x86.h>: 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 Content-Transfer-Encoding: 8bit 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 <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: "H.J. Lu via Libc-alpha" <libc-alpha@sourceware.org> Reply-To: "H.J. Lu" <hjl.tools@gmail.com> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
<sys/platform/x86.h>: Update CPUID features
|
|
Checks
Context | Check | Description |
---|---|---|
dj/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
Commit Message
H.J. Lu
April 5, 2023, 4:21 p.m. UTC
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. --- sysdeps/x86/bits/platform/x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, Apr 5, 2023 at 11:23 AM H.J. Lu via Libc-alpha <libc-alpha@sourceware.org> wrote: > > 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. > --- > 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. */ > -- > 2.39.2 > LGTM Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
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. */