Commit 24a71166 by Chung-Ju Wu Committed by Chung-Ju Wu

[NDS32] Define CLZ_DEFINED_VALUE_AT_ZERO.

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

From-SVN: r258627
parent 369c3be4
2018-03-18 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
2018-03-17 Chung-Ju Wu <jasonwucj@gmail.com>
Kito Cheng <kito.cheng@gmail.com>
......
......@@ -1066,6 +1066,11 @@ enum reg_class
when the condition is true. */
#define STORE_FLAG_VALUE 1
/* A C expression that indicates whether the architecture defines a value for
clz or ctz with a zero operand. In nds32 clz for 0 result 32 is defined
in ISA spec */
#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) ((VALUE) = 32, 1)
/* An alias for the machine mode for pointers. */
#define Pmode SImode
......
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