1.1 --- a/src/cpu/x86/vm/vm_version_x86.cpp Tue Jan 22 15:34:16 2013 -0800 1.2 +++ b/src/cpu/x86/vm/vm_version_x86.cpp Wed Jan 23 15:11:03 2013 -0800 1.3 @@ -661,6 +661,14 @@ 1.4 } 1.5 } 1.6 } 1.7 +#if defined(COMPILER2) && defined(_ALLBSD_SOURCE) 1.8 + if (MaxVectorSize > 16) { 1.9 + // Limit vectors size to 16 bytes on BSD until it fixes 1.10 + // restoring upper 128bit of YMM registers on return 1.11 + // from signal handler. 1.12 + FLAG_SET_DEFAULT(MaxVectorSize, 16); 1.13 + } 1.14 +#endif // COMPILER2 1.15 1.16 // Use population count instruction if available. 1.17 if (supports_popcnt()) {