Files
failnix/targets/wasm-tacle/kernel/bitcount/generated/modified_sources/inline/bitops.h

56 lines
1.2 KiB
C

/*
This program is part of the TACLeBench benchmark suite.
Version V 1.x
Name: bitops.h
Author: Bob Stout & Auke Reitsma
Function: test program for bit counting functions
Source:
Changes: no major functional changes
License: May be used, modified, and re-distributed freely.
*/
#ifndef BITOPS__H
#define BITOPS__H
/*
** bitcount_1.c
*/
__attribute__((always_inline)) static inline int bitcount_bit_count(long x);
/*
** bitcount_2.c
*/
__attribute__((always_inline)) static inline int bitcount_bitcount(long i);
/*
** bitcount_3.c
*/
__attribute__((always_inline)) static inline void bitcount_init3(void);
__attribute__((always_inline)) static inline int
bitcount_ntbl_bitcount(long int x);
__attribute__((always_inline)) static inline int
bitcount_BW_btbl_bitcount(long int x);
__attribute__((always_inline)) static inline int
bitcount_AR_btbl_bitcount(long int x);
/*
** bitcount_4.c
*/
__attribute__((always_inline)) static inline void bitcount_init4(void);
__attribute__((always_inline)) static inline int
bitcount_ntbl_bitcnt(unsigned long x);
__attribute__((always_inline)) static inline int
bitcount_btbl_bitcnt(unsigned long x);
#endif /* BITOPS__H */