Commit 6495f8e6 by Joern Rennecke Committed by Joern Rennecke

arc.md (doloop_begin_i): Remove extra alignment; use (.&-4) idiom.

	* config/arc/arc.md (doloop_begin_i): Remove extra alignment;
	use (.&-4) idiom.

From-SVN: r204810
parent 5b101aae
2013-11-14 Joern Rennecke <joern.rennecke@embecosm.com>
* config/arc/arc.md (doloop_begin_i): Remove extra alignment;
use (.&-4) idiom.
2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/rs6000/sysv4le.h (LINUX64_DEFAULT_ABI_ELFv2): Define. * config/rs6000/sysv4le.h (LINUX64_DEFAULT_ABI_ELFv2): Define.
...@@ -4789,8 +4789,7 @@ ...@@ -4789,8 +4789,7 @@
{ {
/* ??? Can do better for when a scratch register /* ??? Can do better for when a scratch register
is known. But that would require extra testing. */ is known. But that would require extra testing. */
arc_clear_unalign (); return "push_s r0\;add r0,pcl,%4-(.&-4)\;sr r0,[2]; LP_START\;add r0,pcl,.L__GCC__LP%1-(.&-4)\;sr r0,[3]; LP_END\;pop_s r0";
return ".p2align 2\;push_s r0\;add r0,pcl,%4-.+2\;sr r0,[2]; LP_START\;add r0,pcl,.L__GCC__LP%1-.+2\;sr r0,[3]; LP_END\;pop_s r0";
} }
/* Check if the loop end is in range to be set by the lp instruction. */ /* Check if the loop end is in range to be set by the lp instruction. */
size = INTVAL (operands[3]) < 2 ? 0 : 2048; size = INTVAL (operands[3]) < 2 ? 0 : 2048;
......
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