diff for duplicates of <20060202012637.GA25093@iram.es> diff --git a/a/1.txt b/N1/1.txt index 6a8dd71..d5f5066 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,8 @@ On Wed, Feb 01, 2006 at 06:02:38PM +0900, Akinobu Mita wrote: > 1 files changed, 54 insertions(+) > > Index: 2.6-git/include/asm-generic/bitops/hweight.h -> =================================> --- /dev/null +> =================================================================== +> --- /dev/null > +++ 2.6-git/include/asm-generic/bitops/hweight.h > @@ -0,0 +1,54 @@ > +#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_ @@ -74,9 +75,9 @@ on code size. > + > +static inline unsigned long hweight64(__u64 w) > +{ -> +#if BITS_PER_LONG = 32 +> +#if BITS_PER_LONG == 32 > + return hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w); -> +#elif BITS_PER_LONG = 64 +> +#elif BITS_PER_LONG == 64 > + u64 res; > + res = (w & 0x5555555555555555ul) + ((w >> 1) & 0x5555555555555555ul); > + res = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul); diff --git a/a/content_digest b/N1/content_digest index cde1422..d61534b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020060201090325.905071000@localhost.localdomain\0" "From\0Gabriel Paubert <paubert@iram.es>\0" "Subject\0Re: [patch 14/44] generic hweight{64,32,16,8}()\0" - "Date\0Thu, 02 Feb 2006 01:26:38 +0000\0" + "Date\0Thu, 2 Feb 2006 02:26:38 +0100\0" "To\0Akinobu Mita <mita@miraclelinux.com>\0" "Cc\0linux-kernel@vger.kernel.org" linux-mips@linux-mips.org @@ -49,7 +49,8 @@ "> 1 files changed, 54 insertions(+)\n" "> \n" "> Index: 2.6-git/include/asm-generic/bitops/hweight.h\n" - "> =================================> --- /dev/null\n" + "> ===================================================================\n" + "> --- /dev/null\n" "> +++ 2.6-git/include/asm-generic/bitops/hweight.h\n" "> @@ -0,0 +1,54 @@\n" "> +#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_\n" @@ -106,9 +107,9 @@ "> +\n" "> +static inline unsigned long hweight64(__u64 w)\n" "> +{\n" - "> +#if BITS_PER_LONG = 32\n" + "> +#if BITS_PER_LONG == 32\n" "> +\treturn hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w);\n" - "> +#elif BITS_PER_LONG = 64\n" + "> +#elif BITS_PER_LONG == 64\n" "> +\tu64 res;\n" "> +\tres = (w & 0x5555555555555555ul) + ((w >> 1) & 0x5555555555555555ul);\n" "> +\tres = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul);\n" @@ -137,4 +138,4 @@ "work properly on all architectures that GCC supports, however,\n" and that it will help on many. -46c585db32c4997131e9b512abd7d11b5cc2ca754da3a13ed0ab81cf08eb647b +57dbc788bd98d2362945650884ba098457096292ab15f3318255001dbf76c5d6
diff --git a/a/1.txt b/N2/1.txt index 6a8dd71..d5f5066 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -17,7 +17,8 @@ On Wed, Feb 01, 2006 at 06:02:38PM +0900, Akinobu Mita wrote: > 1 files changed, 54 insertions(+) > > Index: 2.6-git/include/asm-generic/bitops/hweight.h -> =================================> --- /dev/null +> =================================================================== +> --- /dev/null > +++ 2.6-git/include/asm-generic/bitops/hweight.h > @@ -0,0 +1,54 @@ > +#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_ @@ -74,9 +75,9 @@ on code size. > + > +static inline unsigned long hweight64(__u64 w) > +{ -> +#if BITS_PER_LONG = 32 +> +#if BITS_PER_LONG == 32 > + return hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w); -> +#elif BITS_PER_LONG = 64 +> +#elif BITS_PER_LONG == 64 > + u64 res; > + res = (w & 0x5555555555555555ul) + ((w >> 1) & 0x5555555555555555ul); > + res = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul); diff --git a/a/content_digest b/N2/content_digest index cde1422..5b728df 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,29 +2,29 @@ "ref\020060201090325.905071000@localhost.localdomain\0" "From\0Gabriel Paubert <paubert@iram.es>\0" "Subject\0Re: [patch 14/44] generic hweight{64,32,16,8}()\0" - "Date\0Thu, 02 Feb 2006 01:26:38 +0000\0" + "Date\0Thu, 2 Feb 2006 02:26:38 +0100\0" "To\0Akinobu Mita <mita@miraclelinux.com>\0" - "Cc\0linux-kernel@vger.kernel.org" - linux-mips@linux-mips.org + "Cc\0linux-mips@linux-mips.org" + linux-m68k@vger.kernel.org linux-ia64@vger.kernel.org Ian Molton <spyro@f2s.com> + Andi Kleen <ak@suse.de> David Howells <dhowells@redhat.com> linuxppc-dev@ozlabs.org Greg Ungerer <gerg@uclinux.org> sparclinux@vger.kernel.org Miles Bader <uclinux-v850@lsi.nec.co.jp> - Linus Torvalds <torvalds@osdl.org> Yoshinori Sato <ysato@users.sourceforge.jp> Hirokazu Takata <takata@linux-m32r.org> - linuxsh-shmedia-dev@lists.sourceforge.net - linux-m68k@vger.kernel.org + linuxsh-dev@lists.sourceforge.net + Linus Torvalds <torvalds@osdl.org> Ivan Kokshaysky <ink@jurassic.park.msu.ru> Richard Henderson <rth@twiddle.net> Chris Zankel <chris@zankel.net> dev-etrax@axis.com ultralinux@vger.kernel.org - Andi Kleen <ak@suse.de> - linuxsh-dev@lists.sourceforge.net + linux-kernel@vger.kernel.org + linuxsh-shmedia-dev@lists.sourceforge.net linux390@de.ibm.com Russell King <rmk@arm.linux.org.uk> " parisc-linux@parisc-linux.org\0" @@ -49,7 +49,8 @@ "> 1 files changed, 54 insertions(+)\n" "> \n" "> Index: 2.6-git/include/asm-generic/bitops/hweight.h\n" - "> =================================> --- /dev/null\n" + "> ===================================================================\n" + "> --- /dev/null\n" "> +++ 2.6-git/include/asm-generic/bitops/hweight.h\n" "> @@ -0,0 +1,54 @@\n" "> +#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_\n" @@ -106,9 +107,9 @@ "> +\n" "> +static inline unsigned long hweight64(__u64 w)\n" "> +{\n" - "> +#if BITS_PER_LONG = 32\n" + "> +#if BITS_PER_LONG == 32\n" "> +\treturn hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w);\n" - "> +#elif BITS_PER_LONG = 64\n" + "> +#elif BITS_PER_LONG == 64\n" "> +\tu64 res;\n" "> +\tres = (w & 0x5555555555555555ul) + ((w >> 1) & 0x5555555555555555ul);\n" "> +\tres = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul);\n" @@ -137,4 +138,4 @@ "work properly on all architectures that GCC supports, however,\n" and that it will help on many. -46c585db32c4997131e9b512abd7d11b5cc2ca754da3a13ed0ab81cf08eb647b +164c2afecd4d6e724ccd2baae358202b30dffd057ea108f2089976828f1e25c2
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.