altivec.md (altivec_vnmsubfp): Fix wrong pattern.
authorYossi Markovich <yossim@il.ibm.com>
Tue, 3 Aug 2004 09:31:47 +0000 (09:31 +0000)
committerDorit Nuzman <dorit@gcc.gnu.org>
Tue, 3 Aug 2004 09:31:47 +0000 (09:31 +0000)
        * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.

[[Split portion of a mixed commit.]]

Co-Authored-By: Mostafa Hagog <mustafa@il.ibm.com>
From-SVN: r85466.2

gcc/ChangeLog
gcc/config/rs6000/altivec.md

index 7164a2989a66ee42575cf79b5189fa3cda451616..beb4285b5365ab624574b6d562d7fc22e0ade07a 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-03  Yossi Markovich <yossim@il.ibm.com>
+            Mostafa Hagog <mustafa@il.ibm.com>
+
+        * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.
+
 2004-08-02  Geoffrey Keating  <geoffk@apple.com>
 
        * dwarf2out.c (output_call_frame_info): Don't change data format
index eee0d179321a62152a8db2176cb1807f459f3c67..6d127b4e20442f8718ab2152756af7d887264b6b 100644 (file)
 ;; Fused multiply subtract 
 (define_insn "altivec_vnmsubfp"
   [(set (match_operand:V4SF 0 "register_operand" "=v")
-       (minus:V4SF (mult:V4SF (match_operand:V4SF 1 "register_operand" "v")
+       (neg:V4SF (minus:V4SF (mult:V4SF (match_operand:V4SF 1 "register_operand" "v")
                               (match_operand:V4SF 2 "register_operand" "v"))
-                   (match_operand:V4SF 3 "register_operand" "v")))]
+                   (match_operand:V4SF 3 "register_operand" "v"))))]
   "TARGET_ALTIVEC"
   "vnmsubfp %0,%1,%2,%3"
   [(set_attr "type" "vecfloat")])