[PATCH] powerpc: emulate power5 popcntb instruction
    Paul Mackerras 
    paulus at samba.org
       
    Thu Aug 24 16:36:07 EST 2006
    
    
  
Will Schmidt writes:
> I'm not Arnd :-) , but since I'm poking at it anyways,.. how about
> this? 
I just did a patch to fix the existing masks.  Could you do a new
version of this patch that doesn't include the unrelated mask fixes
please?  Also it would be really nice if you could figure out a way to
avoid doing the unnecessary 64-bit logical operations on 32-bit
machines - i.e. using an unsigned long for tmp, but then the constants
become problematic.  Maybe you need something like
#define LCONST(x)	((unsigned long)(x##ULL))
Thanks,
Paul.
    
    
More information about the Linuxppc-dev
mailing list