Skip to content

Commit ab6e57a

Browse files
xen0nchenhuacai
authored andcommitted
LoongArch: Remove several syntactic sugar macros for branches
These syntactic sugars have been supported by upstream binutils from the beginning, so no need to patch them locally. Signed-off-by: WANG Xuerui <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent f5c3c22 commit ab6e57a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

arch/loongarch/include/asm/asmmacro.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -274,16 +274,4 @@
274274
nor \dst, \src, zero
275275
.endm
276276

277-
.macro bgt r0 r1 label
278-
blt \r1, \r0, \label
279-
.endm
280-
281-
.macro bltz r0 label
282-
blt \r0, zero, \label
283-
.endm
284-
285-
.macro bgez r0 label
286-
bge \r0, zero, \label
287-
.endm
288-
289277
#endif /* _ASM_ASMMACRO_H */

0 commit comments

Comments
 (0)