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:
helixhorned 2013-11-16 18:47:12 +00:00
parent 3753d45601
commit 559c31159a

View file

@ -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