From f707a0378804335b425fe541488a39aa642ca550 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 3 Oct 2018 20:28:16 +0200 Subject: [PATCH] i386.md (*extendsfdf2): Remove. * config/i386/i386.md (*extendsfdf2): Remove. (*extendxf2): Ditto. From-SVN: r264818 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 22 ++-------------------- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30d7e775c61..c0224e067b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-03 Uros Bizjak + + * config/i386/i386.md (*extendsfdf2): Remove. + (*extendxf2): Ditto. + 2018-10-03 Aldy Hernandez PR tree-optimization/87415 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 367e9bfe255..9aa276a9576 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -920,7 +920,7 @@ (define_code_iterator absneg [abs neg]) ;; Base name for x87 insn mnemonic. -(define_code_attr absneg_mnemonic [(abs "abs") (neg "chs")]) +(define_code_attr absneg_mnemonic [(abs "fabs") (neg "fchs")]) ;; Used in signed and unsigned widening multiplications. (define_code_iterator any_extend [sign_extend zero_extend]) @@ -9796,28 +9796,10 @@ "TARGET_80387 && (reload_completed || !(SSE_FLOAT_MODE_P (mode) && TARGET_SSE_MATH))" - "f" + "" [(set_attr "type" "fsgn") (set_attr "mode" "")]) -(define_insn "*extendsfdf2" - [(set (match_operand:DF 0 "register_operand" "=f") - (absneg:DF (float_extend:DF - (match_operand:SF 1 "register_operand" "0"))))] - "TARGET_80387 && (!TARGET_SSE_MATH || TARGET_MIX_SSE_I387)" - "f" - [(set_attr "type" "fsgn") - (set_attr "mode" "DF")]) - -(define_insn "*extendxf2" - [(set (match_operand:XF 0 "register_operand" "=f") - (absneg:XF (float_extend:XF - (match_operand:MODEF 1 "register_operand" "0"))))] - "TARGET_80387" - "f" - [(set_attr "type" "fsgn") - (set_attr "mode" "XF")]) - ;; Copysign instructions (define_mode_iterator CSGNMODE [SF DF TF]) -- 2.30.2