i386.md (*<code>extend<mode>xf2): Macroize insn from *<code>extendsfxf2 and *<code>extenddfxf2 using MODEF mode...

* config/i386/i386.md (*<code>extend<mode>xf2): Macroize insn from
	*<code>extendsfxf2 and *<code>extenddfxf2 using MODEF mode iterator.

From-SVN: r264398
This commit is contained in:
Uros Bizjak 2018-09-18 17:51:54 +02:00 committed by Uros Bizjak
parent 2049befdd0
commit f96c8666f5
2 changed files with 7 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2018-09-18 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*<code>extend<mode>xf2): Macroize insn from
*<code>extendsfxf2 and *<code>extenddfxf2 using MODEF mode iterator.
2018-09-18 Jonathan Wakely <jwakely@redhat.com>
PR other/87353

View File

@ -9837,19 +9837,10 @@
[(set_attr "type" "fsgn")
(set_attr "mode" "DF")])
(define_insn "*<code>extendsfxf2"
(define_insn "*<code>extend<mode>xf2"
[(set (match_operand:XF 0 "register_operand" "=f")
(absneg:XF (float_extend:XF
(match_operand:SF 1 "register_operand" "0"))))]
"TARGET_80387"
"f<absneg_mnemonic>"
[(set_attr "type" "fsgn")
(set_attr "mode" "XF")])
(define_insn "*<code>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<absneg_mnemonic>"
[(set_attr "type" "fsgn")