diff options
author | ShizZy <shizzy@6bit.net> | 2014-04-23 00:47:43 +0200 |
---|---|---|
committer | ShizZy <shizzy@6bit.net> | 2014-04-23 00:47:43 +0200 |
commit | c47992114216c461528e441f970432a6f3f0873f (patch) | |
tree | 77724ebda82a40186713118e06819422e0c3d9fc /src | |
parent | updated CMakeLists for missing files (diff) | |
download | yuzu-c47992114216c461528e441f970432a6f3f0873f.tar yuzu-c47992114216c461528e441f970432a6f3f0873f.tar.gz yuzu-c47992114216c461528e441f970432a6f3f0873f.tar.bz2 yuzu-c47992114216c461528e441f970432a6f3f0873f.tar.lz yuzu-c47992114216c461528e441f970432a6f3f0873f.tar.xz yuzu-c47992114216c461528e441f970432a6f3f0873f.tar.zst yuzu-c47992114216c461528e441f970432a6f3f0873f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/platform.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/common/platform.h b/src/common/platform.h index 633f1d694..1e8dffbd4 100644 --- a/src/common/platform.h +++ b/src/common/platform.h @@ -108,32 +108,6 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) { typedef void EXCEPTION_POINTERS; -inline u32 _rotl(u32 x, int shift) { - shift &= 31; - if (0 == shift) { - return x; - } - return (x << shift) | (x >> (32 - shift)); -} - -inline u64 _rotl64(u64 x, u32 shift){ - u32 n = shift % 64; - return (x << n) | (x >> (64 - n)); -} - -inline u32 _rotr(u32 x, int shift) { - shift &= 31; - if (0 == shift) { - return x; - } - return (x >> shift) | (x << (32 - shift)); -} - -inline u64 _rotr64(u64 x, u32 shift){ - u32 n = shift % 64; - return (x >> n) | (x << (64 - n)); -} - #endif #define GCC_VERSION_AVAILABLE(major, minor) (defined(__GNUC__) && (__GNUC__ > (major) || \ |