i386.md (enabled): Add comment with explanation why fma4 instructions are disabled for generic code.

* config/i386/i386.md (enabled): Add comment with explanation
	why fma4 instructions are disabled for generic code.

From-SVN: r190397
This commit is contained in:
Uros Bizjak 2012-08-14 20:22:50 +02:00
parent 669d4d702b
commit d63c6b2cbc
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-08-14 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (enabled): Add comment with explanation
why fma4 instructions are disabled for generic code.
2012-08-14 Oleg Endo <olegendo@gcc.gnu.org>
PR target/52933
@ -114,7 +119,8 @@
(verify_phi_args): Likewise.
(verify_ssa): Likewise.
* tree-stdarg.c (execute_optimize_stdarg): Likewise.
* tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Likewise.
* tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1):
Likewise.
(slpeel_tree_peel_loop_to_edge): Likewise.
(vect_can_advance_ivs_p): Likewise.
(vect_update_ivs_after_vectorizer): Likewise.

View file

@ -659,6 +659,9 @@
(eq_attr "isa" "noavx2") (symbol_ref "!TARGET_AVX2")
(eq_attr "isa" "bmi2") (symbol_ref "TARGET_BMI2")
(eq_attr "isa" "fma") (symbol_ref "TARGET_FMA")
;; Disable generation of FMA4 instructions for generic code
;; since FMA3 is preferred for targets that implement both
;; instruction sets.
(eq_attr "isa" "fma4")
(symbol_ref "TARGET_FMA4 && !TARGET_FMA")
]