From 1f6bc337e44710fba30a48769577133f32ab43a5 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 21 Jan 2013 11:33:55 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 15 ++++++++------- gcc/config/i386/i386.md | 8 +------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a38ef1..7201776 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,9 +1,12 @@ +2012-01-21 Uros Bizjak + + * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. + 2013-01-20 Vladimir Makarov 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 @@ -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) : 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 @@ -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 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))) -- 2.7.4