From: Renlin Li Date: Tue, 13 Jan 2015 16:47:30 +0000 (+0000) Subject: [ARM]Make CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO return 2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41197ad4993d8c6bee52dd6b9d76bdf2c5cc9058;p=gcc.git [ARM]Make CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO return 2. gcc/ * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2. (CTZ_DEFINED_VALUE_AT_ZERO): Ditto. From-SVN: r219544 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01f6c6d6b91..b8886d260a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-13 Renlin Li + + * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2. + (CTZ_DEFINED_VALUE_AT_ZERO): Ditto. + 2015-01-13 Martin Liska * ipa-icf.c (sem_function::equals_private): Call new functions diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 556e2dada47..bae7d0bf9aa 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2150,9 +2150,9 @@ extern int making_const_table; : reverse_condition (code)) #define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \ - ((VALUE) = GET_MODE_UNIT_BITSIZE (MODE)) + ((VALUE) = GET_MODE_UNIT_BITSIZE (MODE), 2) #define CTZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \ - ((VALUE) = GET_MODE_UNIT_BITSIZE (MODE)) + ((VALUE) = GET_MODE_UNIT_BITSIZE (MODE), 2) #define CC_STATUS_INIT \ do { cfun->machine->thumb1_cc_insn = NULL_RTX; } while (0)