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
Backport-of: a24f44d17de586c72c8343f8891e72ad8a514597
  • Loading branch information
shipilev committed Jan 31, 2022
1 parent d34650a commit 7a5a8ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hotspot/cpu/x86/
Expand Up @@ -1627,9 +1627,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 7a5a8ab

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.