mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 15:43:24 +02:00
Remove obsolete 32-bit optimizations
This commit is contained in:
parent
5f394fb254
commit
3071b410bf
1 changed files with 3 additions and 10 deletions
|
@ -13,18 +13,11 @@
|
|||
#include "AudioReverb.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#include <intrin.h>
|
||||
inline static int MULHI(int a, int b) {
|
||||
long long c = __emul(a, b);
|
||||
return ((int*)&c)[1];
|
||||
}
|
||||
|
||||
#define MULHI(a,b) ((int32_t)(__emul(a, b) >> 32))
|
||||
#else
|
||||
|
||||
#define MULHI(a,b) (int)(((long long)(a) * (b)) >> 32)
|
||||
|
||||
#endif // _MSC_VER
|
||||
#define MULHI(a,b) ((int32_t)(((int64_t)(a) * (int64_t)(b)) >> 32))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
|
||||
|
|
Loading…
Reference in a new issue