mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Define unaligned access for all ARM. We don't support any that don't. The define didn't exist yet in GCC 4.6 (used by Symbian and Android).
This commit is contained in:
1 parent
03a9cd6711
commit
2e324c9842
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ You can contact the author at :
|
||||
// For others CPU, the compiler will be more cautious, and insert extra code to ensure aligned access is respected.
|
||||
// If you know your target CPU supports unaligned memory access, you want to force this option manually to improve performance.
|
||||
// You can also enable this parameter if you know your input data will always be aligned (boundaries of 4, for U32).
|
||||
#if defined(__ARM_FEATURE_UNALIGNED) || defined(__i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64)
|
||||
#if defined(ARM) || defined(__i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64)
|
||||
# define XXH_USE_UNALIGNED_ACCESS 1
|
||||
#endif
|
||||
|
||||
|
||||
+1
-1
Submodule lang updated: 4ed6ae5b86...0031540033.
Reference in new issue
Block a user