[NDS32] Define LOGICAL_OP_NON_SHORT_CIRCUIT.

gcc/
	* config/nds32/nds32.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define.

From-SVN: r258628
This commit is contained in:
Chung-Ju Wu 2018-03-18 06:18:18 +00:00 committed by Chung-Ju Wu
parent 24a711668b
commit 08ed6d2955
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2018-03-18 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define.
2018-03-18 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.

View File

@ -867,6 +867,10 @@ enum reg_class
other values are interpreted relative to that. */
#define BRANCH_COST(speed_p, predictable_p) ((speed_p) ? 2 : 0)
/* Override BRANCH_COST heuristic which empirically produces worse
performance for removing short circuiting from the logical ops. */
#define LOGICAL_OP_NON_SHORT_CIRCUIT 0
#define SLOW_BYTE_ACCESS 1
#define NO_FUNCTION_CSE 1