提交 470c1589 编写于 作者: N never

6833573: C2 sparc: assert(c < 64 && (c & 1) == 0,"bad double float register")

Reviewed-by: twisti
上级 efc7fabf
...@@ -2794,7 +2794,9 @@ enc_class Fast_Unlock(iRegP oop, iRegP box, o7RegP scratch, iRegP scratch2) %{ ...@@ -2794,7 +2794,9 @@ enc_class Fast_Unlock(iRegP oop, iRegP box, o7RegP scratch, iRegP scratch2) %{
AddressLiteral addrlit(double_address, rspec); AddressLiteral addrlit(double_address, rspec);
__ sethi(addrlit, $tmp$$Register); __ sethi(addrlit, $tmp$$Register);
__ ldf(FloatRegisterImpl::D, $tmp$$Register, addrlit.low10(), $dst$$FloatRegister, rspec); // XXX This is a quick fix for 6833573.
//__ ldf(FloatRegisterImpl::D, $tmp$$Register, addrlit.low10(), $dst$$FloatRegister, rspec);
__ ldf(FloatRegisterImpl::D, $tmp$$Register, addrlit.low10(), as_DoubleFloatRegister($dst$$reg), rspec);
%} %}
// Compiler ensures base is doubleword aligned and cnt is count of doublewords // Compiler ensures base is doubleword aligned and cnt is count of doublewords
...@@ -5902,7 +5904,9 @@ instruct loadConD(regD dst, immD src, o7RegP tmp) %{ ...@@ -5902,7 +5904,9 @@ instruct loadConD(regD dst, immD src, o7RegP tmp) %{
AddressLiteral addrlit(double_address, rspec); AddressLiteral addrlit(double_address, rspec);
__ sethi(addrlit, $tmp$$Register); __ sethi(addrlit, $tmp$$Register);
__ ldf(FloatRegisterImpl::D, $tmp$$Register, addrlit.low10(), $dst$$FloatRegister, rspec); // XXX This is a quick fix for 6833573.
//__ ldf(FloatRegisterImpl::D, $tmp$$Register, addrlit.low10(), $dst$$FloatRegister, rspec);
__ ldf(FloatRegisterImpl::D, $tmp$$Register, addrlit.low10(), as_DoubleFloatRegister($dst$$reg), rspec);
%} %}
ins_pipe(loadConFD); ins_pipe(loadConFD);
%} %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册