Quellcode durchsuchen

* RiscV: handle more instructions in taicpu.spilling_get_operation_type

florian vor 5 Monaten
Ursprung
Commit
4664e510e6
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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