dolphin/Source/UnitTests/Common
Lioncash 0a6f0dfb74 Common: Add bit utility header
This attempts to make some bit arithmetic more self-documenting and also
make it easier during review to identify potential off-by-one errors by
making it possible to just specify which bits are being extracted.

Functions both support the case where bits being extracted can vary and
fixed bit extraction. In the case the bits are fixed, compile-time asserts
are present to prevent accidental API usage at compile-time.

e.g. Instead of shifting and masking to get bits 10 to 15,
Common::ExtractBits<10, 15>(value) can just be done instead.
2017-01-14 11:16:02 -05:00
..
BitFieldTest.cpp specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
BitSetTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BitUtilsTest.cpp Common: Add bit utility header 2017-01-14 11:16:02 -05:00
BlockingLoopTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BusyLoopTest.cpp BusyLoopTest: Only run 10 times. 2016-06-27 22:06:52 +02:00
CMakeLists.txt Common: Add bit utility header 2017-01-14 11:16:02 -05:00
CommonFuncsTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
EventTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
FifoQueueTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
FixedSizeQueueTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
FlagTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
MathUtilTest.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
NandPathsTest.cpp IOS HLE: Add unit test for path/filename escaping 2016-11-27 22:11:05 +01:00
StringUtilTest.cpp Import/Export signature files as CSV 2016-12-18 00:27:10 +00:00
x64EmitterTest.cpp x64EmitterTest: fill cpu_info with 0x01 instead of 0xFF to make gcc happier 2016-06-27 01:55:42 +02:00