mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +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:
parent
03a9cd6711
commit
2e324c9842
@ -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
|
||||
|
||||
|
2
lang
2
lang
@ -1 +1 @@
|
||||
Subproject commit 4ed6ae5b867b27d24a838fb83d8f0d921132343a
|
||||
Subproject commit 003154003358c1919affef0d8013d9fbdbf35510
|
Loading…
Reference in New Issue
Block a user