Browse Source

* Xtensa: tcpuunaryminusnode.second_float fixed for double

git-svn-id: trunk@46779 -
florian 5 năm trước cách đây
mục cha
commit
1edf99c324
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      compiler/xtensa/ncpumat.pas

+ 4 - 1
compiler/xtensa/ncpumat.pas

@@ -236,7 +236,10 @@ implementation
               OS_32:
                 cg.a_op_const_reg_reg(current_asmdata.CurrAsmList,OP_XOR,OS_32,tcgint($80000000),left.location.register,location.register);
               OS_64:
-                cg.a_op_const_reg_reg(current_asmdata.CurrAsmList,OP_XOR,OS_32,tcgint($80000000),left.location.registerhi,location.registerhi);
+                begin
+                  cg.a_op_const_reg_reg(current_asmdata.CurrAsmList,OP_XOR,OS_32,tcgint($80000000),left.location.registerhi,location.registerhi);
+                  cg.a_load_reg_reg(current_asmdata.CurrAsmList,OS_32,OS_32,left.location.register64.reglo,location.register64.reglo);
+                end;
             else
               internalerror(2014033101);
             end;