Commit 4000debb by Jan Beulich Committed by Jan Beulich

libgcc2.c (__popcountSI2): Don't use wide type for iterator and result.

2005-12-05  Jan Beulich  <jbeulich@novell.com>

	* libgcc2.c (__popcountSI2): Don't use wide type for iterator and
	result.
	(__popcountDI2): Likewise.

From-SVN: r108046
parent 9df6c329
2005-12-05 Jan Beulich <jbeulich@novell.com>
* libgcc2.c (__popcountSI2): Don't use wide type for iterator and
result.
(__popcountDI2): Likewise.
2005-12-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/25166
......
......@@ -744,7 +744,7 @@ const UQItype __popcount_tab[256] =
int
__popcountSI2 (UWtype x)
{
UWtype i, ret = 0;
int i, ret = 0;
for (i = 0; i < W_TYPE_SIZE; i += 8)
ret += __popcount_tab[(x >> i) & 0xff];
......@@ -758,7 +758,7 @@ __popcountSI2 (UWtype x)
int
__popcountDI2 (UDWtype x)
{
UWtype i, ret = 0;
int i, ret = 0;
for (i = 0; i < 2*W_TYPE_SIZE; i += 8)
ret += __popcount_tab[(x >> i) & 0xff];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment