Browse Source

* properly calc new src register for OP_XOR

git-svn-id: trunk@45743 -
florian 5 years ago
parent
commit
792eafadef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/aarch64/cgcpu.pas

+ 1 - 1
compiler/aarch64/cgcpu.pas

@@ -1132,7 +1132,7 @@ implementation
               if shuffle=nil then
               if shuffle=nil then
                 begin
                 begin
                   dst:=newreg(R_MMREGISTER,getsupreg(dst),R_SUBMM16B);
                   dst:=newreg(R_MMREGISTER,getsupreg(dst),R_SUBMM16B);
-                  src:=newreg(R_MMREGISTER,getsupreg(dst),R_SUBMM16B);
+                  src:=newreg(R_MMREGISTER,getsupreg(src),R_SUBMM16B);
                   list.concat(taicpu.op_reg_reg_reg(A_EOR,dst,dst,src))
                   list.concat(taicpu.op_reg_reg_reg(A_EOR,dst,dst,src))
                 end
                 end
               else if (src<>dst) or
               else if (src<>dst) or