Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/m68k put the clobber after...



details:   https://anonhg.NetBSD.org/src/rev/cd66a90a3bcf
branches:  trunk
changeset: 347797:cd66a90a3bcf
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 16 20:30:14 2016 +0000

description:
put the clobber after the instruction.

diffstat:

 external/gpl3/gcc/dist/gcc/config/m68k/m68k.md |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 34e3d17f2e79 -r cd66a90a3bcf external/gpl3/gcc/dist/gcc/config/m68k/m68k.md
--- a/external/gpl3/gcc/dist/gcc/config/m68k/m68k.md    Fri Sep 16 17:32:36 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/m68k/m68k.md    Fri Sep 16 20:30:14 2016 +0000
@@ -3154,14 +3154,15 @@
   "TARGET_68020 && !TUNE_68060 && !TARGET_COLDFIRE"
   "#"
   "TARGET_68020 && !TUNE_68060 && !TARGET_COLDFIRE"
-  [(clobber (match_dup 0))
+  [
    (parallel
     [(set (subreg:SI (match_dup 0) 4)
          (mult:SI (match_dup 1) (match_dup 2)))
      (set (subreg:SI (match_dup 0) 0)
          (truncate:SI (lshiftrt:DI (mult:DI (zero_extend:DI (match_dup 1))
                                             (zero_extend:DI (match_dup 2)))
-                                   (const_int 32))))])]
+                                   (const_int 32))))])
+   (clobber (match_dup 0))]
   "")
 
 (define_insn ""
@@ -3205,14 +3206,14 @@
   "TARGET_68020 && !TUNE_68060 && !TARGET_COLDFIRE"
   "#"
   "TARGET_68020 && !TUNE_68060 && !TARGET_COLDFIRE"
-  [(clobber (match_dup 0))
-   (parallel
+  [(parallel
     [(set (subreg:SI (match_dup 0) 4)
          (mult:SI (match_dup 1) (match_dup 2)))
      (set (subreg:SI (match_dup 0) 0)
          (truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1))
                                             (sign_extend:DI (match_dup 2)))
-                                   (const_int 32))))])]
+                                   (const_int 32))))])
+   (clobber (match_dup 0))]
   "")
 
 (define_insn ""



Home | Main Index | Thread Index | Old Index