SXSI/libbp.git
12 years agoMake auxiliary function static and remove them from the interface. local-trunk
kim [Tue, 14 Feb 2012 09:26:39 +0000 (09:26 +0000)]
Make auxiliary function static and remove them from the interface.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1220 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoChanges == 0 to <= 0 for node id test
kim [Tue, 14 Feb 2012 09:26:36 +0000 (09:26 +0000)]
Changes == 0 to <= 0 for node id test
* negative node-ids are special values that denote dummy nodes
or errors, since valide nodes are positive, refusing the root
with <= 0 rather than == 0 tells the compiler that the value
of the id is (strictly) positive in the subsequent code,
allowing the compiler to perform more agressive optimisations.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1219 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoFormatting, trailing whitespaces.
kim [Tue, 14 Feb 2012 09:26:33 +0000 (09:26 +0000)]
Formatting, trailing whitespaces.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1218 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoAdd table version of popcount and popcount8
kim [Tue, 14 Feb 2012 09:26:30 +0000 (09:26 +0000)]
Add table version of popcount and popcount8
    * Adds an alternative version of popcount using a static table for
    8 bits patterns. Disabled by default.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1217 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoBig renaming. Uses the bp namespace everywhere
kim [Mon, 13 Feb 2012 21:48:19 +0000 (21:48 +0000)]
Big renaming. Uses the bp namespace everywhere
 * Prepend bp- to filenames
 * Prepend bp_ to function names
 * Make non exported function static
 * Make critical function static inline

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1214 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoFix typo in makefile.
kim [Mon, 13 Feb 2012 21:48:16 +0000 (21:48 +0000)]
Fix typo in makefile.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1213 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoFix makefile to use $@ as output file instead of hardcoded name.
kim [Mon, 13 Feb 2012 15:18:22 +0000 (15:18 +0000)]
Fix makefile to use $@ as output file instead of hardcoded name.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1209 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoMake utility function static.
kim [Mon, 13 Feb 2012 15:18:19 +0000 (15:18 +0000)]
Make utility function static.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1208 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoInitial import of libbp
kim [Mon, 13 Feb 2012 13:32:46 +0000 (13:32 +0000)]
Initial import of libbp

* Split Sadakane's code in its own repository.
* Compile with C compiler instead of C++
* Make the code C++ aware

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1201 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

12 years agoCreate a repository for Sadakane's BP library.
kim [Mon, 13 Feb 2012 13:13:00 +0000 (13:13 +0000)]
Create a repository for Sadakane's BP library.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1200 3cdefd35-fc62-479d-8e8d-bae585ffb9ca