Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752754AbbEBMny (ORCPT ); Sat, 2 May 2015 08:43:54 -0400 Received: from casper.infradead.org ([85.118.1.10]:51034 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752656AbbEBMns (ORCPT ); Sat, 2 May 2015 08:43:48 -0400 Date: Sat, 2 May 2015 14:43:34 +0200 From: Peter Zijlstra To: Vladimir Makarov Cc: Jakub Jelinek , Linus Torvalds , Richard Henderson , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Linux Kernel Mailing List , Borislav Petkov Subject: Re: [PATCH] x86: Optimize variable_test_bit() Message-ID: <20150502124334.GL5029@twins.programming.kicks-ass.net> References: <20150501151630.GH5029@twins.programming.kicks-ass.net> <20150501163329.GU1751@tucnak.redhat.com> <5543CDC0.6010206@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5543CDC0.6010206@redhat.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 16 On Fri, May 01, 2015 at 03:02:24PM -0400, Vladimir Makarov wrote: > Currently LRA is used by x86/x86-64, ARM, AARCH64, s390, and MIPS. > PPC, SH, and ARC are moving to LRA. All other targets are still > reload based. > > So I could implement the output reloads in LRA, probably for the > next GCC release. How to enable and mostly use it for multi-target > code like the kernel is another question. Pretty much all inline asm is in per arch code; so one arch having different asm features than another should not be a problem at all. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/