Commit 0c9ed856 by Richard Henderson Committed by Richard Henderson

libgcc2.c (__paritysi2, [...]): Replace last two reduction rounds with a "bit table" lookup.

        * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
        rounds with a "bit table" lookup.

From-SVN: r62421
parent 00d3c376
2003-02-04 Richard Henderson <rth@redhat.com>
* libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
rounds with a "bit table" lookup.
2003-02-04 Ulrich Weigand <uweigand@de.ibm.com> 2003-02-04 Ulrich Weigand <uweigand@de.ibm.com>
* reload.c (find_reloads): Do not use the mode specified in the insn * reload.c (find_reloads): Do not use the mode specified in the insn
......
...@@ -664,9 +664,8 @@ __paritysi2 (USItype x) ...@@ -664,9 +664,8 @@ __paritysi2 (USItype x)
nx ^= nx >> 16; nx ^= nx >> 16;
nx ^= nx >> 8; nx ^= nx >> 8;
nx ^= nx >> 4; nx ^= nx >> 4;
nx ^= nx >> 2; nx &= 0xf;
nx ^= nx >> 1; return (0x6996 >> nx) & 1;
return nx & 1;
} }
#endif #endif
...@@ -680,9 +679,8 @@ __paritydi2 (UDItype x) ...@@ -680,9 +679,8 @@ __paritydi2 (UDItype x)
nx ^= nx >> 16; nx ^= nx >> 16;
nx ^= nx >> 8; nx ^= nx >> 8;
nx ^= nx >> 4; nx ^= nx >> 4;
nx ^= nx >> 2; nx &= 0xf;
nx ^= nx >> 1; return (0x6996 >> nx) & 1;
return nx & 1;
} }
#endif #endif
......
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