57 Verify that option will not be turned on during UseBMI1Instructions |
57 Verify that option will not be turned on during UseBMI1Instructions |
58 processing. VM will be launched with following options: |
58 processing. VM will be launched with following options: |
59 -XX:+UseBMI1Instructions -version |
59 -XX:+UseBMI1Instructions -version |
60 */ |
60 */ |
61 CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false", |
61 CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false", |
|
62 "Feature bmi1 is not supported on current CPU. Option " |
|
63 + "UseCountTrailingZerosInstruction should have 'false'" |
|
64 + " value", |
62 TestUseCountTrailingZerosInstructionOnUnsupportedCPU. |
65 TestUseCountTrailingZerosInstructionOnUnsupportedCPU. |
63 ENABLE_BMI); |
66 ENABLE_BMI); |
64 |
67 |
65 /* |
68 /* |
66 VM will be launched with following options: |
69 VM will be launched with following options: |
67 -XX:+UseCountTrailingZerosInstruction -XX:+UseBMI1Instructions |
70 -XX:+UseCountTrailingZerosInstruction -XX:+UseBMI1Instructions |
68 -version |
71 -version |
69 */ |
72 */ |
70 CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false", |
73 CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false", |
|
74 "Feature bmi1 is not supported on current CPU. Option " |
|
75 + "UseCountTrailingZerosInstruction should have 'false'" |
|
76 + " value", |
71 CommandLineOptionTest.prepareBooleanFlag(optionName, true), |
77 CommandLineOptionTest.prepareBooleanFlag(optionName, true), |
72 TestUseCountTrailingZerosInstructionOnUnsupportedCPU. |
78 TestUseCountTrailingZerosInstructionOnUnsupportedCPU. |
73 ENABLE_BMI); |
79 ENABLE_BMI); |
74 } |
80 } |
75 |
81 |