659 UseSSE42Intrinsics = true; |
659 UseSSE42Intrinsics = true; |
660 } |
660 } |
661 } |
661 } |
662 } |
662 } |
663 } |
663 } |
|
664 #if defined(COMPILER2) && defined(_ALLBSD_SOURCE) |
|
665 if (MaxVectorSize > 16) { |
|
666 // Limit vectors size to 16 bytes on BSD until it fixes |
|
667 // restoring upper 128bit of YMM registers on return |
|
668 // from signal handler. |
|
669 FLAG_SET_DEFAULT(MaxVectorSize, 16); |
|
670 } |
|
671 #endif // COMPILER2 |
664 |
672 |
665 // Use population count instruction if available. |
673 // Use population count instruction if available. |
666 if (supports_popcnt()) { |
674 if (supports_popcnt()) { |
667 if (FLAG_IS_DEFAULT(UsePopCountInstruction)) { |
675 if (FLAG_IS_DEFAULT(UsePopCountInstruction)) { |
668 UsePopCountInstruction = true; |
676 UsePopCountInstruction = true; |