]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Simplify "BGT foo, zero" with BGTZ
authorWANG Xuerui <git@xen0n.name>
Tue, 26 Jul 2022 15:57:21 +0000 (23:57 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 29 Jul 2022 10:22:32 +0000 (18:22 +0800)
commit51469a79bc78f230f62bec36be374dd9182f3aef
tree05a8a33f18dd9b21e06402162d5542c3406803d6
parentad3bfb947bcbd1535f45b08921ab8fd877283f74
LoongArch: Simplify "BGT foo, zero" with BGTZ

Support for the syntactic sugar is present in upstream binutils port
from the beginning. Use it for shorter lines and better consistency.
Generated code should be identical.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/lib/clear_user.S
arch/loongarch/lib/copy_user.S