From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756587AbcEEOEx (ORCPT ); Thu, 5 May 2016 10:04:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:53498 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756147AbcEEOEw (ORCPT ); Thu, 5 May 2016 10:04:52 -0400 Date: Thu, 5 May 2016 16:04:46 +0200 From: Borislav Petkov To: Denys Vlasenko Cc: "H. Peter Anvin" , Brian Gerst , LKML , Dmitry Vyukov , Andi Kleen , zengzhaoxiu@163.com, Thomas Gleixner , Ingo Molnar , Andrew Morton , Kees Cook , Zhaoxiu Zeng , Andy Lutomirski , Peter Zijlstra Subject: Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Message-ID: <20160505140446.GE534@pd.tnic> References: <87wpoay10o.fsf@tassilo.jf.intel.com> <20160407094333.GD3866@pd.tnic> <20160504184612.GC23257@pd.tnic> <5998407c-3497-22c1-45dc-a86afcb73c94@zytor.com> <20160504194101.GE23257@pd.tnic> <20160504202213.GF23257@pd.tnic> <572B446D.1030000@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <572B446D.1030000@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 05, 2016 at 03:02:37PM +0200, Denys Vlasenko wrote: > You are looking at the version of a wrong program. > gcc doesn't process assembly, it generates it. > as is part of binutils, not gcc. "as --version". I know. It doesn't matter a whole lot in this case if there's a subset of gas versions which simply don't know about POPCNT and we do use those in the kernel build. Pending a better solution, I'll simply revert to the old, spelled POPCNT bytes and don't bother with versions. Especially if someone tries to build the kernel with some other compiler... -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --