i386.md (enabled): Do not disable fma4 for TARGET_FMA.
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 21 Jan 2013 10:33:55 +0000 (11:33 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 21 Jan 2013 10:33:55 +0000 (11:33 +0100)
* config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.

From-SVN: r195331

gcc/ChangeLog
gcc/config/i386/i386.md

index 7a38ef1092dfc5273bec70df10e75b91e3ad6dda..7201776d73327a92a718e98efd215cba3a5d3bc0 100644 (file)
@@ -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>
 
        (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>
 
index 60ff12f68a78bc65e79af1d824514ff08ac5a4ce..aa479726c47c00be7352f7682721c9c6a0aeac0c 100644 (file)
         (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)))