summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-05-10 09:24:48 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-05 01:35:10 +1000
commit6c5875843b87c3adea2beade9d1b8b3d4523900a (patch)
tree3654d6521c3ba3692ad8e73abd3b05b519dd1527 /arch/powerpc/mm
parentac25ba68fa4001c85395f0488b1c7a2421c5aada (diff)
downloadlinux-6c5875843b87c3adea2beade9d1b8b3d4523900a.tar.bz2
powerpc: slightly improve cache helpers
Cache instructions (dcbz, dcbi, dcbf and dcbst) take two registers that are summed to obtain the target address. Using 'Z' constraint and '%y0' argument gives GCC the opportunity to use both registers instead of only one with the second being forced to 0. Suggested-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions