diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2013-01-21 11:33:55 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2013-01-21 11:33:55 +0100 |
commit | 1f6bc337e44710fba30a48769577133f32ab43a5 (patch) | |
tree | 03faa7b8a31ba3dd3c87b7f2ac5c1d514d42da38 | |
parent | 318c94c0d5d92ee915c657a96070bfcb50c45af6 (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 15 | ||||
-rw-r--r-- | 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 <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 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))) |