projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5c3c22
)
LoongArch: Remove several syntactic sugar macros for branches
author
WANG Xuerui
<git@xen0n.name>
Tue, 26 Jul 2022 15:57:15 +0000
(23:57 +0800)
committer
Huacai Chen
<chenhuacai@loongson.cn>
Fri, 29 Jul 2022 10:22:32 +0000
(18:22 +0800)
These syntactic sugars have been supported by upstream binutils from the
beginning, so no need to patch them locally.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/asmmacro.h
patch
|
blob
|
history
diff --git
a/arch/loongarch/include/asm/asmmacro.h
b/arch/loongarch/include/asm/asmmacro.h
index a1a04083bd670cffe57908db86efe8563ca81d80..be037a40580d4b017725564e59ec0c511373228a 100644
(file)
--- a/
arch/loongarch/include/asm/asmmacro.h
+++ b/
arch/loongarch/include/asm/asmmacro.h
@@
-274,16
+274,4
@@
nor \dst, \src, zero
.endm
-.macro bgt r0 r1 label
- blt \r1, \r0, \label
-.endm
-
-.macro bltz r0 label
- blt \r0, zero, \label
-.endm
-
-.macro bgez r0 label
- bge \r0, zero, \label
-.endm
-
#endif /* _ASM_ASMMACRO_H */