2011/6/30 Georg-Johann Lay <a...@gjlay.de>: > The new count leading signs is not implemented for HI: > > builtin-bitops-1.c:(.text+0xd1e): undefined reference to `__clrsbhi2' > FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O0 > > Extended clz/ctz support in longlong.h > > With the patch testcase passes. > > Johann > > libgcc/ > * config/avr/t-avr (intfuncs16): Add _clrsbXX2. > > gcc/ > * longlong.h (count_leading_zeros, count_trailing_zeros, > COUNT_LEADING_ZEROS_0): Define for target avr if W_TYPE_SIZE is 16 > resp. 64.
Approved. Denis.