aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-21 10:33:55 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-21 10:33:55 +0000
commit914b013a4b97df6bbd6915aceaa80dec568801c3 (patch)
tree03faa7b8a31ba3dd3c87b7f2ac5c1d514d42da38
parent2e4df70ab19bfe5dcd534a9afdca311958bfe826 (diff)
* config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195331 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog15
-rw-r--r--gcc/config/i386/i386.md8
2 files changed, 9 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7a38ef1092d..7201776d733 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,9 +1,12 @@
+2012-01-21 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
+
2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
PR target/55433
* lra-constraints.c (curr_insn_transform): Don't reuse original
- insn for secondary memory move when memory mode should be
- different.
+ insn for secondary memory move when memory mode should be different.
2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
@@ -16,7 +19,7 @@
* config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
descriptions.
* config/i386/i386.md (btver2_decode): New type attributes.
- * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
+ * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
type attributes.
* config/i386/btver2.md: New file describing btver2 pipelines.
@@ -55,8 +58,7 @@
PR middle-end/56015
* expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
- the case where writing real complex part of target modifies
- op1.
+ the case where writing real complex part of target modifies op1.
2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
@@ -102,8 +104,7 @@
(vt_emit_notes): Create and release the local cache.
(vt_initialize, vt_finalize): Create and release the global
cache, respectively.
- * alias.c (rtx_equal_for_memref_p): Compare operands of
- ENTRY_VALUEs.
+ * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
2013-01-18 Alexandre Oliva <aoliva@redhat.com>
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 60ff12f68a7..aa479726c47 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)))