From: Lulu Cheng Date: Thu, 13 Apr 2023 11:24:38 +0000 (+0800) Subject: LoongArch: Remove the definition of the macro LOGICAL_OP_NON_SHORT_CIRCUIT under... X-Git-Tag: basepoints/gcc-15~10124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2ee685f6fa922e97908ed998d14def9e01e1e4e;p=thirdparty%2Fgcc.git LoongArch: Remove the definition of the macro LOGICAL_OP_NON_SHORT_CIRCUIT under the architecture and use the default definition instead. 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. --- diff --git a/gcc/config/loongarch/loongarch.h b/gcc/config/loongarch/loongarch.h index f81678756465..6b7dbecd3ffd 100644 --- a/gcc/config/loongarch/loongarch.h +++ b/gcc/config/loongarch/loongarch.h @@ -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