Home
last modified time | relevance | path

Searched hist:"3 a3fc9bf103974d9a886fa37087d5d491c806e00" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.cdiff 3a3fc9bf103974d9a886fa37087d5d491c806e00 Mon Feb 14 11:41:50 CET 2022 Jordan Niethe <jniethe5@gmail.com> powerpc64/bpf: Store temp registers' bpf to ppc mapping

In bpf_jit_build_body(), the mapping of TMP_REG_1 and TMP_REG_2's bpf
register to ppc register is evalulated at every use despite not
changing. Instead, determine the ppc register once and store the result.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
[Rebased, converted additional usage sites]
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/0944e2f0fa6dd254ea401f1c946fb6c9a5294278.1644834730.git.naveen.n.rao@linux.vnet.ibm.com