[MIPS] Use MIPS R2 instructions for bitops.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 16 Feb 2007 17:18:50 +0000 (17:18 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 18 Feb 2007 21:31:35 +0000 (21:31 +0000)
Add R2 optimized variants of clear_bit, set_bit and test_and_clear_bit.
With gcc 4.1.1 this saves 1592 bytes on a defconfig (minus IPv6) kernel.
Turns out that R2 bitop instructions are no gain for the other bitop
functions.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found