summaryrefslogtreecommitdiff
path: root/src/common/bit_field.h
AgeCommit message (Collapse)Author
2018-04-17bit_field: Remove is_pod check, add is_trivially_copyable_v.bunnei
2018-04-13bit_field: Make all methods constexpr.bunnei
2017-05-24Common: Clean up meta-template logic in BitFieldYuri Kunde Schlesner
2017-05-24Make BitField and ResultCode constexpr-initializableYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot
2016-02-21AudioCore: Skeleton ImplementationMerryMage
This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation.
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage
2015-10-01bit_field: Re-enable code on MSVCLioncash
2015-08-11Stop defining GCC always_inline attributes as __forceinlinearchshift
__forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
2015-07-11Merge pull request #914 from yuriks/bitfield-maskYuri Kunde Schlesner
Common: Fix mask generation in BitField
2015-07-10Common: Remove redundant masking in BitFieldYuri Kunde Schlesner
For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.
2015-07-10Common: Fix mask generation in BitFieldYuri Kunde Schlesner
Fixes #913
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2014-12-22Merge pull request #322 from chinhodado/masterbunnei
More warning cleanups
2014-12-21Merge pull request #291 from purpasmart96/licensebunnei
License change
2014-12-21More warning cleanupsChin
2014-12-20License changepurpasmart96
2014-12-20BitField: Add an explicit Assign method.Tony Wasserka
This is useful when doing crazy stuff like inheriting from BitField.
2014-10-25bit_field: Fix a typo in the sample usage.Lioncash
2014-07-16BitField: Cast enum values to proper integer type.Tony Wasserka
2014-07-16BitField: Add a static_assert.Tony Wasserka
Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
2014-07-16BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka
Cf. https://github.com/dolphin-emu/dolphin/pull/483
2014-07-16BitField: Add an explicit evaluation method.Tony Wasserka
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
2014-05-08removed incorrect dolphin copyright linebunnei
2014-05-07fixed include of common in bit_field.hbunnei
2014-05-07added BitField to commonbunnei