From 097538f13dc02e55c92fdbe613ae6c590a58a3ac Mon Sep 17 00:00:00 2001 From: Yossi Markovich Date: Tue, 3 Aug 2004 09:31:47 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/altivec.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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")]) -- 2.30.2