summary refs log tree commit diff
path: root/lib/sha1.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-04-17 19:08:18 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-18 00:09:06 +1000
commita1f3ae3fe8a1883c339f1bc89d1c941b3809e084 (patch)
treed830fbdffa3dac41aba47c6683b3fe08413ebc7e /lib/sha1.c
parent24c78586cc6798028205e12c34febf0337bcbded (diff)
downloadlinux-a1f3ae3fe8a1883c339f1bc89d1c941b3809e084.tar.gz
powerpc/32: Use stmw/lmw for registers save/restore in asm
arch/powerpc/Makefile activates -mmultiple on BE PPC32 configs
in order to use multiple word instructions in functions entry/exit.

The patch does the same for the asm parts, for consistency.

On processors like the 8xx on which insn fetching is pretty slow,
this speeds up registers save/restore.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: PPC32 is BE only, so drop the endian checks]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions