瀏覽代碼

* 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