소스 검색

* RiscV: handle more instructions in taicpu.spilling_get_operation_type

florian 7 달 전
부모
커밋
4664e510e6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compiler/riscv/aasmcpu.pas

+ 2 - 1
compiler/riscv/aasmcpu.pas

@@ -571,7 +571,8 @@ uses cutils, cclasses;
 
           A_ADDIW,A_SLLIW,A_SRLIW,A_SRAIW,
           A_ADDW,A_SLLW,A_SRLW,A_SUBW,A_SRAW,
-          A_LD,A_LWU:
+          A_LD,A_LWU,
+          A_ZEXT_B,A_ZEXT_H,A_ZEXT_W,A_SEXT_B,A_SEXT_H,A_SEXT_W:
             if opnr=0 then
               result:=operand_write
             else