Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751846AbbEDUPt (ORCPT ); Mon, 4 May 2015 16:15:49 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40619 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751AbbEDUPp (ORCPT ); Mon, 4 May 2015 16:15:45 -0400 Message-ID: <5547D343.3090900@zytor.com> Date: Mon, 04 May 2015 13:14:59 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Vladimir Makarov , Peter Zijlstra CC: Jakub Jelinek , Linus Torvalds , Richard Henderson , Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , Borislav Petkov Subject: Re: [PATCH] x86: Optimize variable_test_bit() References: <20150501151630.GH5029@twins.programming.kicks-ass.net> <20150501163329.GU1751@tucnak.redhat.com> <5543CDC0.6010206@redhat.com> <20150502124334.GL5029@twins.programming.kicks-ass.net> <5547B564.3050901@redhat.com> In-Reply-To: <5547B564.3050901@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 29 On 05/04/2015 11:07 AM, Vladimir Makarov wrote: >>> >>> 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. > Ok, then. I'll try to implement output operands for asm-goto in LRA for > the next GCC release. > > Of course, if nobody objects to changing asm goto semantics from > > An 'asm goto' statement cannot have outputs ... > > to > > An 'asm goto' statement cannot have outputs on some targets ... > A gradual implementation should be fine. -hpa -- 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/