aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2013-01-21 11:33:55 +0100
committerUros Bizjak <uros@gcc.gnu.org>2013-01-21 11:33:55 +0100
commit1f6bc337e44710fba30a48769577133f32ab43a5 (patch)
tree03faa7b8a31ba3dd3c87b7f2ac5c1d514d42da38 /gcc/config
parent318c94c0d5d92ee915c657a96070bfcb50c45af6 (diff)
downloadgcc-1f6bc337e44710fba30a48769577133f32ab43a5.zip
gcc-1f6bc337e44710fba30a48769577133f32ab43a5.tar.gz
gcc-1f6bc337e44710fba30a48769577133f32ab43a5.tar.bz2
i386.md (enabled): Do not disable fma4 for TARGET_FMA.
* config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. From-SVN: r195331
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 60ff12f..aa47972 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -665,14 +665,8 @@
(eq_attr "isa" "avx2") (symbol_ref "TARGET_AVX2")
(eq_attr "isa" "noavx2") (symbol_ref "!TARGET_AVX2")
(eq_attr "isa" "bmi2") (symbol_ref "TARGET_BMI2")
+ (eq_attr "isa" "fma4") (symbol_ref "TARGET_FMA4")
(eq_attr "isa" "fma") (symbol_ref "TARGET_FMA")
- ;; Fma instruction selection has to be done based on
- ;; register pressure. For generating fma4, a cost model
- ;; based on register pressure is required. Till then,
- ;; fma4 instruction is disabled for targets that implement
- ;; both fma and fma4 instruction sets.
- (eq_attr "isa" "fma4")
- (symbol_ref "TARGET_FMA4 && !TARGET_FMA")
]
(const_int 1)))