Richard Henderson schrieb:
> On 06/17/2011 02:20 AM, Georg-Johann Lay wrote:
>> Richard Henderson schrieb:
>>> On 06/15/2011 02:47 AM, Georg-Johann Lay wrote:
>>
>> Yes, you are right. Following patchlet ok?
>>
>> Johann
>>
>>      * config/avr/libgcc.S (__ctzsi2, __ctzhi2):
>>      Map zero to 255.
> 
> You'd also delete the COUNT_LEADING_ZEROS_0 definition in longlong.h.
> 
> r~

__clzsi2(0) still returns 32 as it does not use ctz. So if
implementation of ctz affects validity of COUNT_LEADING_ZEROS_0 that's
bit confusing...

Johann


Reply via email to