From: Yossi Markovich Date: Tue, 3 Aug 2004 09:31:47 +0000 (+0000) Subject: altivec.md (altivec_vnmsubfp): Fix wrong pattern. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=097538f13dc02e55c92fdbe613ae6c590a58a3ac;p=gcc.git altivec.md (altivec_vnmsubfp): Fix wrong pattern. * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern. [[Split portion of a mixed commit.]] Co-Authored-By: Mostafa Hagog From-SVN: r85466.2 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7164a2989a6..beb4285b536 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-03 Yossi Markovich + Mostafa Hagog + + * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern. + 2004-08-02 Geoffrey Keating * dwarf2out.c (output_call_frame_info): Don't change data format diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index eee0d179321..6d127b4e204 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -610,9 +610,9 @@ ;; 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")])