summaryrefslogtreecommitdiff
path: root/gcc/config/fused-madd.opt
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-12 01:07:49 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-12 01:07:49 +0000
commitbca226eaeee243195a823ff859485e1e1eb7e652 (patch)
treeb900887d0aed2abe706e7520ec61bade3fc4cce7 /gcc/config/fused-madd.opt
parent43b3e92fdcd99cca1ebf66f904290bb2446e3dc5 (diff)
downloadgcc-bca226eaeee243195a823ff859485e1e1eb7e652.tar.gz
i386: Convert from -mfused-madd to -ffp-contract.
* config/fused-madd.opt: New file. * config.gcc [i386-*, x86_64-*] (extra_options): Use it. * config/i386/i386.c (ix86_extra_costs): Handle FMA. (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_FUSED_MADD. * config/i386/i386.opt (mfused-madd): Remove. * config/i386/sse.md (split_fma): Remove. (split_fms, split_fnma, split_fnms): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166642 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/fused-madd.opt')
-rw-r--r--gcc/config/fused-madd.opt25
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/config/fused-madd.opt b/gcc/config/fused-madd.opt
new file mode 100644
index 00000000000..b1214cbb4dc
--- /dev/null
+++ b/gcc/config/fused-madd.opt
@@ -0,0 +1,25 @@
+; -mfused-madd option (some targets only).
+;
+; Copyright (C) 2010
+; Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC is free software; you can redistribute it and/or modify it under
+; the terms of the GNU General Public License as published by the Free
+; Software Foundation; either version 3, or (at your option) any later
+; version.
+;
+; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+; WARRANTY; without even the implied warranty of MERCHANTABILITY or
+; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+; for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with GCC; see the file COPYING3. If not see
+; <http://www.gnu.org/licenses/>.
+
+mfused-madd
+Target Undocumented Alias(ffp-contract=, fast, off) Warn(%<-mfused-madd%> is deprecated; use %<-ffp-contract=%> instead)
+
+; This comment is to ensure we retain the blank line above.