Navigation Menu

Skip to content


8280526: x86_32 Math.sqrt performance regression with -XX:UseSSE={0,1}
Browse files Browse the repository at this point in the history
Reviewed-by: kvn, neliasso
  • Loading branch information
shipilev committed Jan 26, 2022
1 parent e72eefd commit a24f44d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hotspot/cpu/x86/
Expand Up @@ -1608,9 +1608,14 @@ const bool Matcher::match_rule_supported(int opcode) {
case Op_SqrtD:
#ifdef _LP64
if (UseSSE < 2) {
return false;
// has a special match rule for SqrtD.
// Together with common x86 rules, this handles all UseSSE cases.
return true; // Match rules are supported by default.
Expand Down

1 comment on commit a24f44d

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.