diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-16 12:18:50 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-18 16:31:35 -0500 |
commit | 102fa15c3f14565f2edb9f08f08ea3f2bf123dc9 (patch) | |
tree | e4b753ec35e1cf543ab580df9b36b03086f9909c /include/asm-mips/dma-mapping.h | |
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>
Diffstat (limited to 'include/asm-mips/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions