* config/i386/i386.md: Reorder cmpi patterns.

From-SVN: r264886
This commit is contained in:
Uros Bizjak 2018-10-05 20:59:04 +02:00
parent 874761d228
commit 1f58c814c0

View File

@ -1562,6 +1562,20 @@
[(match_dup 1)]
UNSPEC_NOTRAP))])
(define_insn "*cmpi<unord>xf_i387"
[(set (reg:CCFP FLAGS_REG)
(compare:CCFP
(match_operand:XF 0 "register_operand" "f")
(match_operand:XF 1 "register_operand" "f")))]
"TARGET_80387 && TARGET_CMOVE"
"* return output_fp_compare (insn, operands, true, <unordered>);"
[(set_attr "type" "fcmp")
(set_attr "mode" "XF")
(set_attr "athlon_decode" "vector")
(set_attr "amdfam10_decode" "direct")
(set_attr "bdver1_decode" "double")
(set_attr "znver1_decode" "double")])
(define_insn "*cmpi<unord><MODEF:mode>"
[(set (reg:CCFP FLAGS_REG)
(compare:CCFP
@ -1598,20 +1612,6 @@
(eq_attr "alternative" "0")
(symbol_ref "true")
(symbol_ref "false"))))])
(define_insn "*cmpi<unord>xf_i387"
[(set (reg:CCFP FLAGS_REG)
(compare:CCFP
(match_operand:XF 0 "register_operand" "f")
(match_operand:XF 1 "register_operand" "f")))]
"TARGET_80387 && TARGET_CMOVE"
"* return output_fp_compare (insn, operands, true, <unordered>);"
[(set_attr "type" "fcmp")
(set_attr "mode" "XF")
(set_attr "athlon_decode" "vector")
(set_attr "amdfam10_decode" "direct")
(set_attr "bdver1_decode" "double")
(set_attr "znver1_decode" "double")])
;; Push/pop instructions.