diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-08-23 16:54:36 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 16:42:46 +1000 |
commit | 7bf6057b962016eee57bc76295f80a26f90172f7 (patch) | |
tree | f4b5f7cebcbe57cb9e983d5c117667239c89f1f0 /arch/powerpc/kernel | |
parent | c0622167e3d4195d50b925bfabd8966589635e75 (diff) | |
download | linux-7bf6057b962016eee57bc76295f80a26f90172f7.tar.bz2 |
powerpc/32: optimise memset()
There is no need to extend the set value to an int when the length
is lower than 4 as in that case we only do byte stores.
We can therefore immediately branch to the part handling it.
By separating it from the normal case, we are able to eliminate
a few actions on the destination pointer.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions