lkml.org 
[lkml]   [2010]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: Add optimized popcnt variants
    On 02/23/2010 07:58 AM, Borislav Petkov wrote:
    >
    > Hmm, we cannot do that with the current design since __arch_hweight64
    > is being inlined into every callsite and AFAICT we would have to build
    > every callsite with "-fcall-saved-rdi" which is clearly too much. The
    > explicit "=D" dummy constraint is straightforward, instead.
    >

    Uh... the -fcall-saved-rdi would go with all the other ones. Assuming
    it can actually work and that gcc doesn't choke on an inbound argument
    being saved.

    -hpa


    \
     
     \ /
      Last update: 2010-02-23 18:41    [W:0.022 / U:29.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site