]> git.baikalelectronics.ru Git - kernel.git/commit
s390/bpf: Use lgrl instead of lg where possible
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 18 Nov 2019 18:03:38 +0000 (19:03 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 19 Nov 2019 03:51:16 +0000 (19:51 -0800)
commitc6f36929f98aca3b0138a00ab7e89f84b5fe8756
treee1829a7bf05560eb28a49d20b52b6b8def0ae61d
parent5e01c35bdaf1f0a7358f1a2fcbbdf905524fdb40
s390/bpf: Use lgrl instead of lg where possible

lg and lgrl have the same performance characteristics, but the former
requires a base register and is subject to long displacement range
limits, while the latter does not. Therefore, lgrl is totally superior
to lg and should be used instead whenever possible.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191118180340.68373-5-iii@linux.ibm.com
arch/s390/net/bpf_jit_comp.c