mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
a-c.c: use GCC vector extensions only on 64-bit targets.
Compiling a 32-bit NOASM build resulted in code containing a MOVAPS instruction that accessed a memory location not aligned to 16 bytes (MinGW, GCC 4.8). git-svn-id: https://svn.eduke32.com/eduke32@4162 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3753d45601
commit
559c31159a
1 changed files with 3 additions and 1 deletions
|
@ -160,7 +160,9 @@ extern int32_t vince[4];
|
|||
extern intptr_t bufplce[4];
|
||||
|
||||
#if defined __GNUC__ && __GNUC_MINOR__ >= 7
|
||||
# define USE_VECTOR_EXT
|
||||
# if defined _WIN64 || defined __amd64 || defined __x86_64 || defined __x86_64__
|
||||
# define USE_VECTOR_EXT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_VECTOR_EXT
|
||||
|
|
Loading…
Reference in a new issue