Skip to content
Commit 102fa15c authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 151fd6ac
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