Commit 2106e42a by Denis Chertykov Committed by Denis Chertykov

ip2k.c (function_epilogue): Fix wrong numbers in cases of optimizing "add sp,w" to "inc sp".

	* config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
	cases of optimizing "add sp,w" to "inc sp".

From-SVN: r57481
parent 179a9caf
2002-09-24 Denis Chertykov <denisc@overta.ru>
* config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
cases of optimizing "add sp,w" to "inc sp".
2002-09-24 Adam Nemet <anemet@lnxw.com>
* config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
......
......@@ -353,7 +353,7 @@ function_epilogue (file, size)
/* fall-thru */
case 0:
break;
case 1:
case 0x100:
OUT_AS1 (inc, sph);
epilogue_size += 2;
}
......@@ -490,7 +490,7 @@ function_epilogue (file, size)
case 0:
break;
case 1:
case 0x100:
OUT_AS1 (inc, sph);
epilogue_size += 2;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment