mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
Latte: Very minor refactor + optimization
This commit is contained in:
parent
65e5e20afc
commit
4d6b72b353
2 changed files with 18 additions and 18 deletions
|
@ -235,10 +235,13 @@ inline uint64 _udiv128(uint64 highDividend, uint64 lowDividend, uint64 divisor,
|
|||
|
||||
#if defined(_MSC_VER)
|
||||
#define UNREACHABLE __assume(false)
|
||||
#define ASSUME(__cond) __assume(__cond)
|
||||
#elif defined(__GNUC__)
|
||||
#define UNREACHABLE __builtin_unreachable()
|
||||
#define ASSUME(__cond) __attribute__((assume(__cond)))
|
||||
#else
|
||||
#define UNREACHABLE
|
||||
#define ASSUME(__cond)
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue