ソースを参照

bug fix: an illegal 'inc' was generated

ceriel 32 年 前
コミット
e311f43d19
1 ファイル変更1 行追加1 行削除
  1. 1 1
      mach/sparc/ce/cache.c.x

+ 1 - 1
mach/sparc/ce/cache.c.x

@@ -1152,7 +1152,7 @@ enter("pop_nop");
 			"inc	$V1, %l0";
 		} else {
 			"set	$V1, $reg_tmp";
-			"inc	%l0, $reg_tmp, %l0";
+			"add	%l0, $reg_tmp, %l0";
 		}
 	}
 if (debug) { indent(); fprint(codefile, "\t\t! %dw cache:",j); dump_cache(codefile); }