src/cpu/mips/vm/sharedRuntime_mips_64.cpp

changeset 9759
8c71022cf5f3
parent 9705
0b27fc8adf1b
child 9932
86ea9a02a717
     1.1 --- a/src/cpu/mips/vm/sharedRuntime_mips_64.cpp	Mon Nov 25 15:36:48 2019 +0800
     1.2 +++ b/src/cpu/mips/vm/sharedRuntime_mips_64.cpp	Mon Nov 18 10:41:48 2019 +0800
     1.3 @@ -1270,8 +1270,8 @@
     1.4  
     1.5    if (src.first()->is_stack()) {
     1.6      if (dst.first()->is_stack()) {
     1.7 -      __ lwc1(F12, FP, reg2offset_in(src.first()));
     1.8 -      __ swc1(F12, SP, reg2offset_out(dst.first()));
     1.9 +      __ lw(AT, FP, reg2offset_in(src.first()));
    1.10 +      __ sw(AT, SP, reg2offset_out(dst.first()));
    1.11      }
    1.12      else
    1.13        __ lwc1(dst.first()->as_FloatRegister(), FP, reg2offset_in(src.first()));
    1.14 @@ -1324,9 +1324,8 @@
    1.15    if (src.first()->is_stack()) {
    1.16      // source is all stack
    1.17      if( dst.first()->is_stack()){
    1.18 -      __ ldc1(F12, FP, reg2offset_in(src.first()));
    1.19 -
    1.20 -      __ sdc1(F12, SP, reg2offset_out(dst.first()));
    1.21 +      __ ld(AT, FP, reg2offset_in(src.first()));
    1.22 +      __ sd(AT, SP, reg2offset_out(dst.first()));
    1.23      } else {
    1.24        __ ldc1( (dst.first())->as_FloatRegister(), FP, reg2offset_in(src.first()));
    1.25      }

mercurial