Home
last modified time | relevance | path

Searched hist:"51 ed00e7" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dvector.S51ed00e7 Wed Aug 18 03:47:28 CDT 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/32: Remove unneccessary calculations in load_up_{fpu/altivec}

No need to re-read SPRN_THREAD, we can calculate thread address
from current (r2).

And remove a reload of value 1 into r4 as r4 is already 1.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c04cce578b97a76a9e69a096698b1d89f721768a.1629276437.git.christophe.leroy@csgroup.eu
H A Dfpu.S51ed00e7 Wed Aug 18 03:47:28 CDT 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/32: Remove unneccessary calculations in load_up_{fpu/altivec}

No need to re-read SPRN_THREAD, we can calculate thread address
from current (r2).

And remove a reload of value 1 into r4 as r4 is already 1.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c04cce578b97a76a9e69a096698b1d89f721768a.1629276437.git.christophe.leroy@csgroup.eu