https://github.com/torvalds/linux
Revision 102fa15c3f14565f2edb9f08f08ea3f2bf123dc9 authored by Ralf Baechle on 16 February 2007, 17:18:50 UTC, committed by Ralf Baechle on 18 February 2007, 21:31:35 UTC
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>
1 parent 151fd6a
History
Tip revision: 102fa15c3f14565f2edb9f08f08ea3f2bf123dc9 authored by Ralf Baechle on 16 February 2007, 17:18:50 UTC
[MIPS] Use MIPS R2 instructions for bitops.
Tip revision: 102fa15
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.9 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 81.4 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top