i386.md (*<absneg:code>extendsfdf2): Remove.

* config/i386/i386.md (*<absneg:code>extendsfdf2): Remove.
	(*<absneg:code>extend<mode>xf2): Ditto.

From-SVN: r264818
This commit is contained in:
Uros Bizjak 2018-10-03 20:28:16 +02:00 committed by Uros Bizjak
parent 9b918e8202
commit f707a03788
2 changed files with 7 additions and 20 deletions

View File

@ -1,3 +1,8 @@
2018-10-03 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*<absneg:code>extendsfdf2): Remove.
(*<absneg:code>extend<mode>xf2): Ditto.
2018-10-03 Aldy Hernandez <aldyh@redhat.com> 2018-10-03 Aldy Hernandez <aldyh@redhat.com>
PR tree-optimization/87415 PR tree-optimization/87415

View File

@ -920,7 +920,7 @@
(define_code_iterator absneg [abs neg]) (define_code_iterator absneg [abs neg])
;; Base name for x87 insn mnemonic. ;; 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. ;; Used in signed and unsigned widening multiplications.
(define_code_iterator any_extend [sign_extend zero_extend]) (define_code_iterator any_extend [sign_extend zero_extend])
@ -9796,28 +9796,10 @@
"TARGET_80387 "TARGET_80387
&& (reload_completed && (reload_completed
|| !(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH))" || !(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH))"
"f<absneg_mnemonic>" "<absneg_mnemonic>"
[(set_attr "type" "fsgn") [(set_attr "type" "fsgn")
(set_attr "mode" "<MODE>")]) (set_attr "mode" "<MODE>")])
(define_insn "*<code>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<absneg_mnemonic>"
[(set_attr "type" "fsgn")
(set_attr "mode" "DF")])
(define_insn "*<code>extend<mode>xf2"
[(set (match_operand:XF 0 "register_operand" "=f")
(absneg:XF (float_extend:XF
(match_operand:MODEF 1 "register_operand" "0"))))]
"TARGET_80387"
"f<absneg_mnemonic>"
[(set_attr "type" "fsgn")
(set_attr "mode" "XF")])
;; Copysign instructions ;; Copysign instructions
(define_mode_iterator CSGNMODE [SF DF TF]) (define_mode_iterator CSGNMODE [SF DF TF])