This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Mips tweak
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Nov 2002 21:54:33 -0800
- Subject: PATCH: Mips tweak
- Reply-to: mark at codesourcery dot com
I applied this patch on the branch at the behest of Joel Sherrill and
Eric Christopher. It is alrady on the mainline.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2002-11-10 Ralf Corsepius <corepiu@faw.uni-ulm.de>
* config/mips/mips.md (movdi_usd): Use %z1 in place of %1.
Index: config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.md,v
retrieving revision 1.116.2.2
diff -c -5 -p -r1.116.2.2 mips.md
*** config/mips/mips.md 24 Apr 2002 17:40:50 -0000 1.116.2.2
--- config/mips/mips.md 11 Nov 2002 05:53:07 -0000
*************** move\\t%0,%z4\\n\\
*** 4880,4890 ****
/* The stack/frame pointers are always aligned, so we can convert
to the faster sw if we are referencing an aligned stack location. */
if ((INTVAL (offset) & 7) == 0
&& (mem_addr == stack_pointer_rtx || mem_addr == frame_pointer_rtx))
! return \"sd\\t%1,%0\";
return \"usd\\t%z1,%0\";
}"
[(set_attr "type" "store")
(set_attr "mode" "SI")
--- 4880,4890 ----
/* The stack/frame pointers are always aligned, so we can convert
to the faster sw if we are referencing an aligned stack location. */
if ((INTVAL (offset) & 7) == 0
&& (mem_addr == stack_pointer_rtx || mem_addr == frame_pointer_rtx))
! return \"sd\\t%z1,%0\";
return \"usd\\t%z1,%0\";
}"
[(set_attr "type" "store")
(set_attr "mode" "SI")