From 8288224021dddd4da854b43a046b1ce6851a3893 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 17 Jun 2009 18:18:34 +0000 Subject: [PATCH] dfp.md (nabsdd2_fpr): Correct mode. * config/rs6000/dfp.md (nabsdd2_fpr): Correct mode. (nabstd2_fpr): Same. From-SVN: r148621 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/dfp.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31d2264643b..1a5a9a637b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-06-17 David Edelsohn + + * config/rs6000/dfp.md (nabsdd2_fpr): Correct mode. + (nabstd2_fpr): Same. + 2009-06-17 Steve Ellcey * expr.c (expand_assignment): Change complex type check. diff --git a/gcc/config/rs6000/dfp.md b/gcc/config/rs6000/dfp.md index 377023b0491..eb679a918e2 100644 --- a/gcc/config/rs6000/dfp.md +++ b/gcc/config/rs6000/dfp.md @@ -180,7 +180,7 @@ (define_insn "*nabsdd2_fpr" [(set (match_operand:DD 0 "gpc_reg_operand" "=f") - (neg:DD (abs:DD (match_operand:DF 1 "gpc_reg_operand" "f"))))] + (neg:DD (abs:DD (match_operand:DD 1 "gpc_reg_operand" "f"))))] "TARGET_HARD_FLOAT && TARGET_FPRS" "fnabs %0,%1" [(set_attr "type" "fp")]) @@ -511,7 +511,7 @@ (define_insn "*nabstd2_fpr" [(set (match_operand:TD 0 "gpc_reg_operand" "=f") - (neg:TD (abs:TD (match_operand:DF 1 "gpc_reg_operand" "f"))))] + (neg:TD (abs:TD (match_operand:TD 1 "gpc_reg_operand" "f"))))] "TARGET_HARD_FLOAT && TARGET_FPRS" "fnabs %0,%1" [(set_attr "type" "fp")])