This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,picochip] Split a movsi pattern after reload
- From: Hariharan <hariharans at picochip dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 May 2010 13:21:19 +0100
- Subject: [PATCH,picochip] Split a movsi pattern after reload
Hello all,
The following patch delays split of movsi from constant until after
reload. Committed to mainline.
Regards
Hari
ChangeLog:
* config/picochip/picochip.md (movsi): Split a movsi from a
const after reload.
Patch
Index: gcc/config/picochip/picochip.md
===================================================================
--- gcc/config/picochip/picochip.md (revision 159862)
+++ gcc/config/picochip/picochip.md (working copy)
@@ -893,7 +893,7 @@
(define_split
[(set (match_operand:SI 0 "register_operand" "")
(match_operand:SI 1 "const_int_operand" ""))]
- ""
+ "reload_completed"
[(set (match_dup 2) (match_dup 3))
(set (match_dup 4) (match_dup 5))]
"{