diff options
author | Ralf Baechle | 2007-02-16 18:18:50 +0100 |
---|---|---|
committer | Ralf Baechle | 2007-02-18 22:31:35 +0100 |
commit | 102fa15c3f14565f2edb9f08f08ea3f2bf123dc9 (patch) | |
tree | e4b753ec35e1cf543ab580df9b36b03086f9909c /arch/mips/kernel/traps.c | |
parent | [MIPS] signals: Share even more code. (diff) | |
download | kernel-qcow2-linux-102fa15c3f14565f2edb9f08f08ea3f2bf123dc9.tar.gz kernel-qcow2-linux-102fa15c3f14565f2edb9f08f08ea3f2bf123dc9.tar.xz kernel-qcow2-linux-102fa15c3f14565f2edb9f08f08ea3f2bf123dc9.zip |
[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 'arch/mips/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions