mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 17:59:37 +00:00
Upload
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#ifndef __FTCONFIG_H__MULTILIB
|
||||
#define __FTCONFIG_H__MULTILIB
|
||||
|
||||
#ifdef ANDROID
|
||||
#include <sys/cdefs.h>
|
||||
#else
|
||||
#include <bits/wordsize.h>
|
||||
#endif
|
||||
|
||||
#if __WORDSIZE == 32
|
||||
# include "ftconfig-32.h"
|
||||
|
||||
+1
-14
@@ -106,20 +106,7 @@
|
||||
* __ARM_NEON is defined to a value indicating the Advanced SIMD (NEON)
|
||||
* architecture supported.
|
||||
*/
|
||||
#if !defined(__ARM_NEON) || !defined(__ARM_NEON__)
|
||||
#error "You must enable NEON instructions (e.g. -mfpu=neon) to use SSE2NEON."
|
||||
#endif
|
||||
#if !defined(__clang__)
|
||||
#pragma GCC push_options
|
||||
#pragma GCC target("fpu=neon")
|
||||
#endif
|
||||
#elif defined(__aarch64__)
|
||||
#if !defined(__clang__)
|
||||
#pragma GCC push_options
|
||||
#pragma GCC target("+simd")
|
||||
#endif
|
||||
#else
|
||||
#error "Unsupported target. Must be either ARMv7-A+NEON or ARMv8-A."
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user