hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java
changeset 28200 38d3bf236c31
parent 28190 5a6b07edeb21
child 29678 dd2f3932c21e
equal deleted inserted replaced
28199:b7fb20a745f7 28200:38d3bf236c31
    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