Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4856191ybi; Tue, 30 Jul 2019 09:17:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0JO1YEyjltbxm5kQ1J6smvDuS1Kn65URUcSwPqqHGuMr6284C6p1EuDLmbEeivSHD6L0K X-Received: by 2002:a63:4b02:: with SMTP id y2mr108015656pga.135.1564503478701; Tue, 30 Jul 2019 09:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564503478; cv=none; d=google.com; s=arc-20160816; b=Eh6yOEmKoO00eS/IXxfLpyriQaK/7VidPvx1alBIIBoWvjjjmCpOM72/W2jyOs36El Ufi4t69uGAU7Eios059W5L00vkPymGl+UPmzn0OIHKMVTJ+NdcrCF5ihFIZ/VAMZE17w kIHGGlZpR3bJe+Jg/JHPl5dbvyNB37WBUHrEB2uVqXyjGeTU8BBUFdA5CCPOn/qfvh8T hlUk+snHB2sH8vBWi1qN4r0Sal78DKHzQg85Gf/+NYm46AUQJOTMJhVYD67Ww9zMr5mq ttpzl5l/3/e54XbtHfC0PD/IVXgLaZcEa+zBNNnf/2f8ErXp1rC7tTgkjK8yD6I4vVWl DtLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=Xz+bTKiZ7oV4hiNxrEM7y0bnhFIUin6FjG0frsfk9qg=; b=p1y2rkX8JjvbHVd5UpexCtuv6viszh8gJThojQiY6V1IYIUq4aXe2mVUnUjlg4gaLJ KcjH3Hnw1aR5uhWCj5ISUjrXBvzX+fYJUvdacnoA5cBGE1YU2SPPeIE/NfFzpK1aLBXr rlgu/9coyp9oplHmFvmfEW+8cmKovdIjSMONy6kcHQldjVLWAPTRhTdp+o/OCEx7YA72 CQukSO+jDHa5vgIkinSJ1wK8MjB2b8Fu2ZrOSvNAZajo8nibadxIIdzPYXXwou/rGFll 2vf+gOh5vHhBIS+JGNKksjMrHVjef9yqSYU0nPxLWmELvVIYfJUffYY1V9dLtUNHL5tO 8uIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2019071901 header.b=hIlEZn8Q; 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=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn22si28645240plb.422.2019.07.30.09.17.43; Tue, 30 Jul 2019 09:17:58 -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=fail header.i=@zytor.com header.s=2019071901 header.b=hIlEZn8Q; 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=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729559AbfG3Nnh (ORCPT + 99 others); Tue, 30 Jul 2019 09:43:37 -0400 Received: from terminus.zytor.com ([198.137.202.136]:38839 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfG3Nng (ORCPT ); Tue, 30 Jul 2019 09:43:36 -0400 Received: from [IPv6:2601:646:8600:3281:2150:f27a:5e53:9961] ([IPv6:2601:646:8600:3281:2150:f27a:5e53:9961]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x6UDh1cu3237618 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 30 Jul 2019 06:43:06 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com x6UDh1cu3237618 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019071901; t=1564494188; bh=Xz+bTKiZ7oV4hiNxrEM7y0bnhFIUin6FjG0frsfk9qg=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=hIlEZn8QCL76NhRMk54YYiLudToxmUUJ8dKqwHDJSwklELRfJsfGQbnfJ3grNYfao 89JsjrjgFi0f3H5UzaF+y6y6EWCOhH4GSoEfRpzoYP7268CKE5aQOH99bJDtfNPhk4 exyctSNy4Feunb0HOSPrx9/R3QZGT35FLlg6+d6U/F6c5H2Z56uokHCkP0lRImqNId VSlz/0qJpi9ySPxW009beCm9/Qbn1WiN+LONGqNziTgjJ891JoO02akaNs2LFjZVWK P/WyfYOe7f+ongIvDzhcU+EnKdy9Wu+h7GzwUuB22aRoDGCWVo7bAiK0vtJ83go+0H +EgsdkksRAfqQ== Date: Tue, 30 Jul 2019 06:42:51 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <20190730080843.GG31381@hirez.programming.kicks-ass.net> References: <20190728115140.GA32463@avx2> <20190729094329.GW31381@hirez.programming.kicks-ass.net> <20190729100447.GD31425@hirez.programming.kicks-ass.net> <20190729204417.GA2146@avx2> <20190730080843.GG31381@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] x86: drop REG_OUT macro from hweight functions To: Peter Zijlstra , Alexey Dobriyan CC: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, linux-kernel@vger.kernel.org From: hpa@zytor.com Message-ID: <5DF8B85C-57EF-4AE4-A2EE-863D06D7C55E@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On July 30, 2019 1:08:43 AM PDT, Peter Zijlstra wr= ote: >On Mon, Jul 29, 2019 at 11:44:17PM +0300, Alexey Dobriyan wrote: >> On Mon, Jul 29, 2019 at 12:04:47PM +0200, Peter Zijlstra wrote: >> > +#define _ASM_ARG1B __ASM_FORM_RAW(dil) >> > +#define _ASM_ARG2B __ASM_FORM_RAW(sil) >> > +#define _ASM_ARG3B __ASM_FORM_RAW(dl) >> > +#define _ASM_ARG4B __ASM_FORM_RAW(cl) >> > +#define _ASM_ARG5B __ASM_FORM_RAW(r8b) >> > +#define _ASM_ARG6B __ASM_FORM_RAW(r9b) >>=20 >> I preprocessed percpu code once to see what precisely it does because >> it was easier than wading through forest of macroes=2E > >Per cpu is easy, try reading the tracepoint code ;-) Sometimes it's the =2Es file one ends up wanting to check out=2E=2E=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E