Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8264054: Bad XMM performance on java.lang.MathBench.sqrtDouble #3256

Closed
wants to merge 6 commits into from
@@ -3232,6 +3232,8 @@ instruct negD_reg_reg(vlRegD dst, vlRegD src) %{
ins_pipe(pipe_slow);
%}

// sqrtss instruction needs destination register to be pre initialized for best performace
// Therefore only the instruct rules where the input is pre-loaded into dst register is defined below
instruct sqrtF_reg(regF dst) %{
predicate(UseSSE>=1);
match(Set dst (SqrtF dst));
@@ -3242,6 +3244,8 @@ instruct sqrtF_reg(regF dst) %{
ins_pipe(pipe_slow);
%}

// sqrtsd instruction needs destination register to be pre initialized for best performace
// Therefore only the instruct rules where the input is pre-loaded into dst register is defined below
instruct sqrtD_reg(regD dst) %{
predicate(UseSSE>=2);
match(Set dst (SqrtD dst));
ProTip! Use n and p to navigate between commits in a pull request.