/****************************************************************************/
/*	Copyright 2008 (c) Bendor Research Pty. Ltd. All rights reserved.		*/
/*  This software is licenced under a BSD licence. That is, you can use,	*/
/*	modify and distribute it for any purpose whatsoever as long as you		*/
/*	credit Bendor Research for creating it. This software is provided		*/
/*	"as is", without any expressed or implied warranty and you assume any	*/
/*	and all risk associated with the performance of the software.			*/
/*	By using this program you acknowledge that neither Bendor Research nor 	*/
/*	its personnel can be held liable for damages of any kind including but	*/
/*	not restricted to direct, indirect or consequential damage arising out	*/
/*	of the use or inability to use of this program or its documentation, 	*/
/*	or the failure or inadequate performance of this program even if Bendor */
/*	Research was advised of the possibility of such damages.				*/
/****************************************************************************/

#ifndef _MISC_BITS_H
#define	_MISC_BITS_H

unsigned	ldzcnt( unsigned x )						__attribute__((const));
unsigned	trzcnt( unsigned x )						__attribute__((const));
unsigned	bitrev( unsigned x )						__attribute__((const));
unsigned	endian( unsigned x )						__attribute__((const));

#endif

