diff options
Diffstat (limited to 'src/3rdparty/v8')
-rw-r--r-- | src/3rdparty/v8/src/platform-win32.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/3rdparty/v8/src/platform-win32.cc b/src/3rdparty/v8/src/platform-win32.cc index 76e35f5..ae9ab2a 100644 --- a/src/3rdparty/v8/src/platform-win32.cc +++ b/src/3rdparty/v8/src/platform-win32.cc @@ -1523,9 +1523,12 @@ double OS::nan_value() { int OS::ActivationFrameAlignment() { #ifdef _WIN64 return 16; // Windows 64-bit ABI requires the stack to be 16-byte aligned. -#else - return 8; // Floating-point math runs faster with 8-byte alignment. +#elif defined(__MINGW32__) + // With gcc 4.4 the tree vectorization optimizer can generate code + // that requires 16 byte alignment such as movdqa on x86. + return 16; #endif + return 8; // Floating-point math runs faster with 8-byte alignment. } |