Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1332534ybe; Thu, 5 Sep 2019 13:57:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6N9Cu7no23juDgmV6oVNNNsq+by1N+aAc+HaMr2CRDgjMtKtAKNcwj5ZkgMPYsWN279Gn X-Received: by 2002:a63:d210:: with SMTP id a16mr4893969pgg.77.1567717064060; Thu, 05 Sep 2019 13:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567717064; cv=none; d=google.com; s=arc-20160816; b=0k7//z+c8AxwPt0S2zjAC63DKUgVTJKCX1TSzqUpTzVfVuAYAiGviwETL3hQgux909 vq8ggp8xc/kuhqs/5+bMEi/whglWsbqoYzDJQMtBH9d6U/K9dcPoNufLcBVQXWXZCzpk 345j1NG/j4RCssyg574hiB2Qdnif9dXoPLvr0mziNid+d7B8KwMZTfr9wv7b+t0JMAd4 zVKllvI+3DvxYkVrhNvcnDPiGPKrYEV59dw7QH3Tu1Gc7IMl5Sqs3davEh9y9+4lpTBs 9plEKXEkfpTxcdg1TgE0Fh9xk64L5fq/hikRaYJwAJrxLG0XkaTmvAkH9nWWXKItrthi Y4EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=j8yKc9SHJAoYLzBrn3BT3OVSk2JhvmmAFDyBdCdHQDQ=; b=C/jnxt1WbtXIUgF1ui/1E/2FAam7wLXzMb5UmpyLHfkRoGjDZWw8hyiCuVWQtGHxQ0 c60yHNtLT4sGK79e9ktqliLAfFMHPJ7GyUPeI8wQpAZk/AARz/+Sg6zv1vapDzbPD4Gn 4L7MHIMHTmDSX8Ag0NC/baqLzRwO0/wEnnsMgtgy7bAkc3EvIqYAbhJcSgHk2MDGFL7a q/4oUwmdsWFOAY5yztw91ZIELc61A5kySfML1sBPHL2kwBGMqSbshVcBGEBP7lTrk/5N biuUhUA6xqmERvSMtLSa1zM4ISWlA2Aob6OoKjMGPJfQcLwKflfU8Mjb17yTIQv5gTMU X9VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BM+ek/d3"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j186si3447402pfb.250.2019.09.05.13.57.28; Thu, 05 Sep 2019 13:57:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BM+ek/d3"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731283AbfIEQN1 (ORCPT + 99 others); Thu, 5 Sep 2019 12:13:27 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38323 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbfIEQN0 (ORCPT ); Thu, 5 Sep 2019 12:13:26 -0400 Received: by mail-lj1-f195.google.com with SMTP id y23so2782778ljn.5 for ; Thu, 05 Sep 2019 09:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j8yKc9SHJAoYLzBrn3BT3OVSk2JhvmmAFDyBdCdHQDQ=; b=BM+ek/d3V9T6GKREugYTLjnPwoLY87hw+TftOCbo0oTZp5p0Qpt3Uze1Oz0p6viGqj 94KLegS8mri/SGOpqrLeNW7YOyCOB4kP90Un6kzSr8WBpOdH925KmCgl7t/5pd38ji+4 v37BX55Lpk3GaWdgORhcSzxWYqTZBLTFbpqpeRs2dgIPKMruBEp6k+WI+8dBDqVGI5MH VsOUzyBIttSKNaWSooyeI8tvfISBqHx/McEurKNuBCpBgqn40bHKGUFk/dGYPU0RyPqs DfXW/IPuSPN6cyHjDYgE3RxzBIeTs91yLBXcE/f1bzWwu8SHEIJH2g3tEPMoTI5qNBfQ lFhA== 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=j8yKc9SHJAoYLzBrn3BT3OVSk2JhvmmAFDyBdCdHQDQ=; b=X9IE9L08EFriRfLylIt/Z4Sq9zXUOTzhh3in5c2e4Piay20JmynwEgBUuyUMdpt5Jt VIiTlSB2iXompSCneanFONFP8jJH8jaV4W9XOY7kEhVJNbNuWYoupQhr2KkLcgRMmRsd GMMX/AZs/AHZpcSISKddaiECGECGbeVlin6p0B+RqpiDQgp9BSubTYVSt6i8TffK44IH N9QjnS7DHdyJVNTSAyR4y60SkoQUC/U48j0Nc7kXtsy2qU/d2WXpj3wgplbMLaQSk8p6 G5KSOCkGPRtZBxwwjnQsbaGnnw+yi9Xu8aDelyMbX0c27V+BsqXewDiSFQ2E42Iw1y5P 3Odg== X-Gm-Message-State: APjAAAXzjrgL1mE6qNOOEAnzAQIinyuPr1/m+uAMJerTe5kS/Nez0W8a VHgnacxsaIxuK0y1aB05+eV4LIHXSiJ814g4Ke8= X-Received: by 2002:a2e:9555:: with SMTP id t21mr2605931ljh.93.1567700004732; Thu, 05 Sep 2019 09:13:24 -0700 (PDT) MIME-Version: 1.0 References: <20190829083233.24162-1-linux@rasmusvillemoes.dk> <20190830231527.22304-1-linux@rasmusvillemoes.dk> <20190830231527.22304-5-linux@rasmusvillemoes.dk> <20190905134535.GP9749@gate.crashing.org> In-Reply-To: From: Miguel Ojeda Date: Thu, 5 Sep 2019 18:13:13 +0200 Message-ID: Subject: Re: [PATCH v2 4/6] compiler-gcc.h: add asm_inline definition To: Segher Boessenkool Cc: Rasmus Villemoes , Nick Desaulniers , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , LKML , "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 5, 2019 at 5:52 PM Miguel Ojeda wrote: > > Yes and no. GNU libc defines feature test macros like you say, but > C++'s feature macros are like Rasmus/Nick are saying. I think libc's > definition is weird, I would call those "feature selection macros" > instead, because the user is selecting between some features (whether > to enable or not, for instance), rather than testing for the features. By the way, this is not to criticize libc, I imagine they employed that nomenclature since that is what some standards used, but still, the naming is not great from the users' perspective vs. the header writer's perspective, IMO. Cheers, Miguel