mn10300.md (fmasf4, [...]): Rename from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4...
authorRichard Henderson <rth@redhat.com>
Tue, 16 Nov 2010 01:32:56 +0000 (17:32 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 16 Nov 2010 01:32:56 +0000 (17:32 -0800)
        * config/mn10300/mn10300.md (fmasf4, fmssf4, fnmasf4, fnmssf4): Rename
        from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4 respectively.  Use
        fma rtx_code.

From-SVN: r166790

gcc/ChangeLog
gcc/config/mn10300/mn10300.md

index 3c0853711607072cc1de6338abc72449c2e77504..2d6dd4211eda6f38dd63551f8c7f1ee35d1e1846 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-15  Richard Henderson  <rth@redhat.com>
+
+       * config/mn10300/mn10300.md (fmasf4, fmssf4, fnmasf4, fnmssf4): Rename
+       from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4 respectively.  Use
+       fma rtx_code.
+
 2010-11-15  Richard Henderson  <rth@redhat.com>
 
        * config/frv/frv.md (fmasf4, fmssf4): Rename from *muladdsf4
index 9f2fc9f972835972e231ccca2fee3db2a448dc1d..1028357d61cb181a2b3f2389eb764fcd034a0a86 100644 (file)
   ]
 )
 
-(define_insn "fmaddsf4"
-  [(set (match_operand:SF                   0 "register_operand" "=A")
-       (plus:SF (mult:SF (match_operand:SF 1 "register_operand" "%f")
-                         (match_operand:SF 2 "register_operand" "f"))
-                (match_operand:SF          3 "register_operand" "f")))
+(define_insn "fmasf4"
+  [(set (match_operand:SF         0 "register_operand" "=A")
+       (fma:SF (match_operand:SF 1 "register_operand" "f")
+               (match_operand:SF 2 "register_operand" "f")
+               (match_operand:SF 3 "register_operand" "f")))
    (clobber (reg:CC_FLOAT CC_REG))
   ]
   "TARGET_AM33_2"
                                       (const_int 17) (const_int 24)))]
 )
 
-(define_insn "fmsubsf4"
-  [(set (match_operand:SF                    0 "register_operand" "=A")
-       (minus:SF (mult:SF (match_operand:SF 1 "register_operand" "%f")
-                          (match_operand:SF 2 "register_operand" "f"))
-                 (match_operand:SF          3 "register_operand" "f")))
+(define_insn "fmssf4"
+  [(set (match_operand:SF                 0 "register_operand" "=A")
+       (fma:SF (match_operand:SF         1 "register_operand" "f")
+               (match_operand:SF         2 "register_operand" "f")
+               (neg:SF (match_operand:SF 3 "register_operand" "f"))))
    (clobber (reg:CC_FLOAT CC_REG))
   ]
   "TARGET_AM33_2"
                                       (const_int 17) (const_int 24)))]
 )
 
-(define_insn "fnmaddsf4"
-  [(set (match_operand:SF                    0 "register_operand" "=A")
-       (minus:SF (match_operand:SF          3 "register_operand" "f")
-                 (mult:SF (match_operand:SF 1 "register_operand" "%f")
-                          (match_operand:SF 2 "register_operand" "f"))))
+(define_insn "fnmasf4"
+  [(set (match_operand:SF                 0 "register_operand" "=A")
+       (fma:SF (neg:SF (match_operand:SF 1 "register_operand" "f"))
+               (match_operand:SF         2 "register_operand" "f")
+               (match_operand:SF         3 "register_operand" "f")))
    (clobber (reg:CC_FLOAT CC_REG))
   ]
   "TARGET_AM33_2"
                                       (const_int 17) (const_int 24)))]
 )
 
-(define_insn "fnmsubsf4"
-  [(set (match_operand:SF                            0 "register_operand" "=A")
-       (minus:SF (neg:SF (mult:SF (match_operand:SF 1 "register_operand" "%f")
-                                  (match_operand:SF 2 "register_operand" "f")))
-                 (match_operand:SF                  3 "register_operand" "f")))
+(define_insn "fnmssf4"
+  [(set (match_operand:SF                 0 "register_operand" "=A")
+       (fma:SF (neg:SF (match_operand:SF 1 "register_operand" "f"))
+               (match_operand:SF         2 "register_operand" "f")
+               (neg:SF (match_operand:SF 3 "register_operand" "f"))))
    (clobber (reg:CC_FLOAT CC_REG))
   ]
   "TARGET_AM33_2"