소스 검색

* properly calc new src register for OP_XOR

git-svn-id: trunk@45743 -
florian 5 년 전
부모
커밋
792eafadef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/aarch64/cgcpu.pas

+ 1 - 1
compiler/aarch64/cgcpu.pas

@@ -1132,7 +1132,7 @@ implementation
               if shuffle=nil then
                 begin
                   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))
                 end
               else if (src<>dst) or