This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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))]
  "{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]