Commit 08ed6d29 by Chung-Ju Wu Committed by Chung-Ju Wu

[NDS32] Define LOGICAL_OP_NON_SHORT_CIRCUIT.

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

From-SVN: r258628
parent 24a71166
2018-03-18 Chung-Ju Wu <jasonwucj@gmail.com> 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. * config/nds32/nds32.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
2018-03-17 Chung-Ju Wu <jasonwucj@gmail.com> 2018-03-17 Chung-Ju Wu <jasonwucj@gmail.com>
......
...@@ -867,6 +867,10 @@ enum reg_class ...@@ -867,6 +867,10 @@ enum reg_class
other values are interpreted relative to that. */ other values are interpreted relative to that. */
#define BRANCH_COST(speed_p, predictable_p) ((speed_p) ? 2 : 0) #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 SLOW_BYTE_ACCESS 1
#define NO_FUNCTION_CSE 1 #define NO_FUNCTION_CSE 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment