]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Remove the definition of the macro LOGICAL_OP_NON_SHORT_CIRCUIT under...
authorLulu Cheng <chenglulu@loongson.cn>
Thu, 13 Apr 2023 11:24:38 +0000 (19:24 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Tue, 18 Apr 2023 01:05:50 +0000 (09:05 +0800)
In some cases, setting this macro as the default can reduce the number of conditional
branch instructions.

gcc/ChangeLog:

* config/loongarch/loongarch.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Remove the macro
definition.

gcc/config/loongarch/loongarch.h

index f81678756465adfd719fd049bb37bf07a40cbda3..6b7dbecd3ffd97b5e1371499307b1d2a13b3502a 100644 (file)
@@ -836,7 +836,6 @@ typedef struct {
    1 is the default; other values are interpreted relative to that.  */
 
 #define BRANCH_COST(speed_p, predictable_p) loongarch_branch_cost
-#define LOGICAL_OP_NON_SHORT_CIRCUIT 0
 
 /* Return the asm template for a conditional branch instruction.
    OPCODE is the opcode's mnemonic and OPERANDS is the asm template for