소스 검색

* SPARC: UNIMP instruction has 22-bit "opcode", not 12-bit.

git-svn-id: trunk@27592 -
sergei 11 년 전
부모
커밋
58882e2934
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/sparc/ncpucall.pas

+ 1 - 1
compiler/sparc/ncpucall.pas

@@ -47,7 +47,7 @@ implementation
     procedure tsparccallnode.extra_post_call_code;
       begin
         if paramanager.ret_in_param(procdefinition.returndef,procdefinition) then
-          current_asmdata.CurrAsmList.concat(taicpu.op_const(A_UNIMP,procdefinition.returndef.size and $fff));
+          current_asmdata.CurrAsmList.concat(taicpu.op_const(A_UNIMP,procdefinition.returndef.size and $3fffff));
       end;