Merge remote-tracking branch 'vbam-libretro/master'
This commit is contained in:
commit
eaf1ad2429
|
@ -4,16 +4,16 @@
|
||||||
extern int armExecute();
|
extern int armExecute();
|
||||||
extern int thumbExecute();
|
extern int thumbExecute();
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
#ifndef __APPLE__
|
|
||||||
#define INSN_REGPARM __attribute__((regparm(1)))
|
#define INSN_REGPARM __attribute__((regparm(1)))
|
||||||
#else
|
#else
|
||||||
#define INSN_REGPARM /*nothing*/
|
#define INSN_REGPARM /*nothing*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
#define LIKELY(x) __builtin_expect(!!(x), 1)
|
#define LIKELY(x) __builtin_expect(!!(x), 1)
|
||||||
#define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
#define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
||||||
#else
|
#else
|
||||||
#define INSN_REGPARM /*nothing*/
|
|
||||||
#define LIKELY(x) (x)
|
#define LIKELY(x) (x)
|
||||||
#define UNLIKELY(x) (x)
|
#define UNLIKELY(x) (x)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
APP_ABI := all
|
APP_ABI := all
|
||||||
APP_STL := gnustl_static
|
APP_STL := c++_static
|
||||||
NDK_TOOLCHAIN_VERSION := 4.9
|
|
||||||
|
|
Loading…
Reference in New Issue