From f96c8666f57e89182c3b0661f2e5e19f8b70aa8a Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 18 Sep 2018 17:51:54 +0200 Subject: [PATCH] i386.md (*extendxf2): Macroize insn from *extendsfxf2 and *extenddfxf2 using MODEF mode... * config/i386/i386.md (*extendxf2): Macroize insn from *extendsfxf2 and *extenddfxf2 using MODEF mode iterator. From-SVN: r264398 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 13 ++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33cc32ff90e..a0e9093ff32 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-09-18 Uros Bizjak + + * config/i386/i386.md (*extendxf2): Macroize insn from + *extendsfxf2 and *extenddfxf2 using MODEF mode iterator. + 2018-09-18 Jonathan Wakely PR other/87353 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 869ff5930eb..e08b2b7c14b 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -9837,19 +9837,10 @@ [(set_attr "type" "fsgn") (set_attr "mode" "DF")]) -(define_insn "*extendsfxf2" +(define_insn "*extendxf2" [(set (match_operand:XF 0 "register_operand" "=f") (absneg:XF (float_extend:XF - (match_operand:SF 1 "register_operand" "0"))))] - "TARGET_80387" - "f" - [(set_attr "type" "fsgn") - (set_attr "mode" "XF")]) - -(define_insn "*extenddfxf2" - [(set (match_operand:XF 0 "register_operand" "=f") - (absneg:XF (float_extend:XF - (match_operand:DF 1 "register_operand" "0"))))] + (match_operand:MODEF 1 "register_operand" "0"))))] "TARGET_80387" "f" [(set_attr "type" "fsgn") -- 2.30.2