From patchwork Tue Sep 29 18:58:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1373574 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=DW7Qdmld; 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C17wY1Qdmz9sSC for ; Wed, 30 Sep 2020 04:59:22 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6C0DB386F424; Tue, 29 Sep 2020 18:59:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C0DB386F424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1601405959; bh=W9l0HGhzbgTA+zc8nIBBHDhKf+5mNxAmVsT9rb8C39k=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=DW7Qdmldgz6y/GlotQ8YAsqyIBMVOVAYDJYL0/g8nyN/Nbjx3byCgT+tSEWstddtp 1cvioUif0GLtMVuEG4wqmUs3oPkqNBw5YlzJPxTejlEAC0yWEJBHcbMsicTCQKC0dM /qrFToYoDenMst6sEVe0yjtdegPqjLPHLkfydd3c= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by sourceware.org (Postfix) with ESMTPS id 2A33C3861003 for ; Tue, 29 Sep 2020 18:59:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2A33C3861003 Received: by mail-io1-xd41.google.com with SMTP id z13so5955594iom.8 for ; Tue, 29 Sep 2020 11:59:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W9l0HGhzbgTA+zc8nIBBHDhKf+5mNxAmVsT9rb8C39k=; b=P3fHwNnf5XeJJiGcBe9UUV8SmK4odukekR9CMcGL6Zb0Lz7RMHE0P1L60aBB4X/b1c teCCePrtLmPBXG4F1KWK0FaByI3xNGM3EPyfvpxbixbvF2HgwmFCmF8MyOhcutZSU215 hZWnxIGterg5lJHm/fqQyriMFVwyTM3Klp0hohQPa21WLywefjmwSpETkVOsQxp80cW8 Za4hxx/KjCOmV5ymzLhj0J4hUgyVV4QHOJq/aSQ+K1wOVr2PHoCQVLuUmPYhdmSbk+ne a7/042aJnY2QDAXd+WYu84meZIZY+y4cS+WZai5Y2ddxcERqBsDsP5SfggOh/5+Db+v4 rGjQ== X-Gm-Message-State: AOAM53088BBGlnma7xDfF1EB/Dro7h0Bfem+4uhs314M6vtOp9uza0il uK0Iv4QcDLoO4MMkXteY16YReGh83/qloHBcwDo= X-Google-Smtp-Source: ABdhPJzepf49Y6biPc+LRdAIsiYnkA/EuNTo3wJFGhi3ZJfrjk0pT9c8QhqUa2lo9DlKgvsB5M46TeLdQLWt/jatkAc= X-Received: by 2002:a5e:9e4c:: with SMTP id j12mr3597630ioq.37.1601405956611; Tue, 29 Sep 2020 11:59:16 -0700 (PDT) MIME-Version: 1.0 References: <20200929184624.2427586-1-hjl.tools@gmail.com> <20200929184937.GC2176@tucnak> In-Reply-To: <20200929184937.GC2176@tucnak> Date: Tue, 29 Sep 2020 11:58:39 -0700 Message-ID: Subject: V2 [PATCH] x86: Replace with To: Jakub Jelinek X-Spam-Status: No, score=-3036.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Gcc-patches" From: "H.J. Lu" Reply-To: "H.J. Lu" Cc: GCC Patches Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" On Tue, Sep 29, 2020 at 11:49 AM Jakub Jelinek wrote: > > On Tue, Sep 29, 2020 at 11:46:24AM -0700, H.J. Lu via Gcc-patches wrote: > > Fix a typo in config/i386/enqcmdintrin.h by replacing > > with : > > > > [hjl@gnu-cfl-2 x86-gcc]$ echo "#include " | gcc -S -o /dev/null -x c - > > In file included from :1: > > /usr/lib/gcc/x86_64-redhat-linux/10/include/enqcmdintrin.h:25:3: error: #error "Never use directly; include instead." > > 25 | # error "Never use directly; include instead." > > | ^~~~~ > > [hjl@gnu-cfl-2 x86-gcc]$ > > > > gcc/ > > > > PR target/97247 > > * config/i386/enqcmdintrin.h: Replace with > > . > > > gcc/config/i386/enqcmdintrin.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/gcc/config/i386/enqcmdintrin.h b/gcc/config/i386/enqcmdintrin.h > > index 4b2efcb9a20..72ef1ca7b5d 100644 > > --- a/gcc/config/i386/enqcmdintrin.h > > +++ b/gcc/config/i386/enqcmdintrin.h > > @@ -22,7 +22,7 @@ > > . */ > > > > #if !defined _IMMINTRIN_H_INCLUDED > > -# error "Never use directly; include instead." > > +# error "Never use directly; include instead." > > That isn't the only typo. > > #endif > > > > #ifndef _ENQCMDNTRIN_H_INCLUDED > > The I is missing in this macro too. > Fixed. Here is the V2 patch. OK for master and GCC 10 branches? Thanks. From b135b3b2e016f2095bd9c2ae7da10175cf082adb Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 29 Sep 2020 11:40:46 -0700 Subject: [PATCH] x86: Replace with Fix 2 typos in config/i386/enqcmdintrin.h by replacing with : [hjl@gnu-cfl-2 x86-gcc]$ echo "#include " | gcc -S -o /dev/null -x c - In file included from :1: /usr/lib/gcc/x86_64-redhat-linux/10/include/enqcmdintrin.h:25:3: error: #error "Never use directly; include instead." 25 | # error "Never use directly; include instead." | ^~~~~ [hjl@gnu-cfl-2 x86-gcc]$ and _ENQCMDINTRIN_H_INCLUDED with _ENQCMDINTRIN_H_INCLUDED. gcc/ PR target/97247 * config/i386/enqcmdintrin.h: Replace with . Replace _ENQCMDNTRIN_H_INCLUDED with _ENQCMDINTRIN_H_INCLUDED. --- gcc/config/i386/enqcmdintrin.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/i386/enqcmdintrin.h b/gcc/config/i386/enqcmdintrin.h index 4b2efcb9a20..721dfb2ca92 100644 --- a/gcc/config/i386/enqcmdintrin.h +++ b/gcc/config/i386/enqcmdintrin.h @@ -22,11 +22,11 @@ . */ #if !defined _IMMINTRIN_H_INCLUDED -# error "Never use directly; include instead." +# error "Never use directly; include instead." #endif -#ifndef _ENQCMDNTRIN_H_INCLUDED -#define _ENQCMDNTRIN_H_INCLUDED +#ifndef _ENQCMDINTRIN_H_INCLUDED +#define _ENQCMDINTRIN_H_INCLUDED #ifndef __ENQCMD__ #pragma GCC push_options @@ -52,4 +52,4 @@ _enqcmds (void * __P, const void * __Q) #undef __DISABLE_ENQCMD__ #pragma GCC pop_options #endif /* __DISABLE_ENQCMD__ */ -#endif /* _ENQCMDNTRIN_H_INCLUDED. */ +#endif /* _ENQCMDINTRIN_H_INCLUDED. */ -- 2.26.2