lkml.org 
[lkml]   [2015]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: Optimize variable_test_bit()


On 02/05/15 08:43 AM, Peter Zijlstra wrote:
> 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.
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 ...




\
 
 \ /
  Last update: 2015-05-04 20:21    [W:0.186 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site