1
0
Fork 0
forked from suyu/suyu
suyu/src
Lioncash 9cb4b7be40 common/swap: Simplify swap function ifdefs
Including every OS' own built-in byte swapping functions is kind of
undesirable, since it adds yet another build path to ensure compilation
succeeds on.

Given we only support clang, GCC, and MSVC for the time being, we can
utilize their built-in functions directly instead of going through the
OS's API functions.

This shrinks the overall code down to just

if (msvc)
  use msvc's functions
else if (clang or gcc)
  use clang/gcc's builtins
else
  use the slow path
2019-04-11 20:36:19 -04:00
..
audio_core core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
common common/swap: Simplify swap function ifdefs 2019-04-11 20:36:19 -04:00
core Merge pull request #1957 from DarkLordZach/title-provider 2019-04-09 19:16:37 -04:00
input_common general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
tests kernel: Handle page table switching within MakeCurrentProcess() 2019-04-07 01:12:54 -04:00
video_core Merge pull request #2354 from lioncash/header 2019-04-09 19:19:41 -04:00
web_service general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
yuzu Merge pull request #1957 from DarkLordZach/title-provider 2019-04-09 19:16:37 -04:00
yuzu_cmd Merge pull request #1957 from DarkLordZach/title-provider 2019-04-09 19:16:37 -04:00
.clang-format
CMakeLists.txt CMakeLists: Move off of modifying CMAKE_*-related flags 2019-03-17 06:55:24 -04:00