LoongArch: Use the "jr" pseudo-instruction where applicable
authorWANG Xuerui <git@xen0n.name>
Tue, 26 Jul 2022 15:57:17 +0000 (23:57 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 29 Jul 2022 10:22:32 +0000 (18:22 +0800)
commit07b480695d24d1c9f27bb60fd4b980ae87e8bc1e
tree4f6d6209f66bcc90748dbf5b371e11595cdcf86b
parentd8e7f201a4cf148c3801cdc9603963061d28d64f
LoongArch: Use the "jr" pseudo-instruction where applicable

Some of the assembly code in the LoongArch port likely originated
from a time when the assembler did not support pseudo-instructions like
"move" or "jr", so the desugared form was used and readability suffers
(to a minor degree) as a result.

As the upstream toolchain supports these pseudo-instructions from the
beginning, migrate the existing few usages to them for better
readability.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/fpu.S
arch/loongarch/kernel/genex.S
arch/loongarch/kernel/head.S
arch/loongarch/mm/page.S
arch/loongarch/mm/tlbex.S