summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ControlReference.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-31 17:09:33 -0400
committerLioncash <mathew1800@gmail.com>2018-03-31 18:09:45 -0400
commitc3483a1823d5a5f4a8174682228f78d00cee3247 (patch)
tree085331ee9dd055c4e3cd406d02312e4ede70ea34 /Source/Core/InputCommon/ControlReference/ControlReference.h
parent76e1a5b892b546ff30320dd8c1193148db7c9ef9 (diff)
CommonFuncs: Generify rotation functions and move them to BitUtils.h
These are bit manipulation functions, so they belong within BitUtils. This also gets rid of duplicated code and avoids relying on compiler reserved names existing or not existing to determine whether or not we define a set of functions. Optimizers are smart enough in GCC and clang to transform the code to a ROR or ROL instruction in the respective functions.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ControlReference.h')
0 files changed, 0 insertions, 0 deletions