Re: [PATCH] powerpc: emulate power5 popcntb instruction
From: Paul Mackerras <hidden>
Date: 2006-08-24 06:36:07
From: Paul Mackerras <hidden>
Date: 2006-08-24 06:36:07
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.