commit | 102fa15c3f14565f2edb9f08f08ea3f2bf123dc9 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Fri Feb 16 17:18:50 2007 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sun Feb 18 21:31:35 2007 +0000 |
tree | e4b753ec35e1cf543ab580df9b36b03086f9909c | |
parent | 151fd6acd94e12ef3a7d5fa0911a2590690c493f [diff] |
[MIPS] Use MIPS R2 instructions for bitops. 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>