1169689Skan/* __clz_tab -- support for longlong.h 2169689Skan 3169689Skan THE CONTENTS OF THIS FILE ARE FOR INTERNAL USE AND MAY CHANGE 4169689Skan INCOMPATIBLY OR DISAPPEAR IN A FUTURE GNU MP RELEASE. 5169689Skan 6169689SkanCopyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation, 7169689SkanInc. 8169689Skan 9169689SkanThis file is part of the GNU MP Library. 10169689Skan 11169689SkanThe GNU MP Library is free software; you can redistribute it and/or modify 12169689Skanit under the terms of the GNU Lesser General Public License as published by 13169689Skanthe Free Software Foundation; either version 3 of the License, or (at your 14169689Skanoption) any later version. 15169689Skan 16169689SkanThe GNU MP Library is distributed in the hope that it will be useful, but 17169689SkanWITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18169689Skanor FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 19169689SkanLicense for more details. 20169689Skan 21169689SkanYou should have received a copy of the GNU Lesser General Public License 22169689Skanalong with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ 23169689Skan 24169689Skan#include "gmp.h" 25169689Skan#include "gmp-impl.h" 26169689Skan#include "longlong.h" 27169689Skan 28169689Skan#ifdef COUNT_LEADING_ZEROS_NEED_CLZ_TAB 29169689Skanconst 30169689Skanunsigned char __clz_tab[128] = 31169689Skan{ 32169689Skan 1,2,3,3,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, 33169689Skan 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 34169689Skan 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 35169689Skan 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 36169689Skan}; 37169689Skan#endif 38169689Skan