equal
deleted
inserted
replaced
695 _L1_data_cache_line_size = count; |
695 _L1_data_cache_line_size = count; |
696 |
696 |
697 // Execute code. Illegal instructions will be replaced by 0 in the signal handler. |
697 // Execute code. Illegal instructions will be replaced by 0 in the signal handler. |
698 VM_Version::_is_determine_features_test_running = true; |
698 VM_Version::_is_determine_features_test_running = true; |
699 // We must align the first argument to 16 bytes because of the lqarx check. |
699 // We must align the first argument to 16 bytes because of the lqarx check. |
700 (*test)(align_ptr_up(mid_of_test_area, 16), (uint64_t)0); |
700 (*test)(align_up(mid_of_test_area, 16), (uint64_t)0); |
701 VM_Version::_is_determine_features_test_running = false; |
701 VM_Version::_is_determine_features_test_running = false; |
702 |
702 |
703 // determine which instructions are legal. |
703 // determine which instructions are legal. |
704 int feature_cntr = 0; |
704 int feature_cntr = 0; |
705 if (code[feature_cntr++]) features |= fsqrt_m; |
705 if (code[feature_cntr++]) features |= fsqrt_m; |