v8/test/base-unittests
bmeurer@chromium.org b15a082d56 Fix implementation of bit count functions.
The bit counting functions provided by CompilerIntrinsics were undefined
for zero, which was easily overlooked and unsafe in general. Also their
implementation was kinda hacky and mostly untested. Fixed the
implementation and moved the functions to base/bits.h.

TEST=base-unittests,cctest,compiler-unittests,mjsunit
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/494633002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23229 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-20 12:10:41 +00:00
..
platform Fix newly discovered presubmit errors. 2014-08-12 13:33:35 +00:00
utils Refactor unit tests for the base library to use GTest. 2014-08-06 09:35:21 +00:00
base-unittests.gyp [turbofan] Introduce WordRor machine operator. 2014-08-14 09:07:58 +00:00
base-unittests.status Refactor unit tests for the base library to use GTest. 2014-08-06 09:35:21 +00:00
bits-unittest.cc Fix implementation of bit count functions. 2014-08-20 12:10:41 +00:00
cpu-unittest.cc Refactor unit tests for the base library to use GTest. 2014-08-06 09:35:21 +00:00
DEPS [turbofan] Introduce WordRor machine operator. 2014-08-14 09:07:58 +00:00
testcfg.py Refactor unit tests for the base library to use GTest. 2014-08-06 09:35:21 +00:00