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

Expand Down

1 comment on commit fd7d0d3

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.