Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/vm_version_x86.cpp @ 7638:522c328b8b77
8003878: compiler/7196199 test failed on OS X since 8b54, jdk7u12b01
Summary: Limit vectors size to 16 bytes on BSD until the problem is fixed
Reviewed-by: twisti
author | kvn |
---|---|
date | Wed, 23 Jan 2013 15:11:03 -0800 |
parents | 92d4b5d8dde4 |
children | 3ac7d10a6572 b800986664f4 |
comparison
equal
deleted
inserted
replaced
7637:b30b3c2a0cf2 | 7638:522c328b8b77 |
---|---|
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; |