Browse Source

bug fix: an illegal 'inc' was generated

ceriel 32 years ago
parent
commit
e311f43d19
1 changed files with 1 additions and 1 deletions
  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); }