From 99eaa2e703a812e96a103d21f9f2e2169349cc11 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 22 Mar 2010 23:17:09 +0000 Subject: [PATCH] Add -mfma to ix86_target_string. 2010-03-22 H.J. Lu * config/i386/i386.c (ix86_target_string): Fix a typo in comments. Add -mfma. From-SVN: r157655 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1bd54ad852..01868b5aecc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-03-22 H.J. Lu + + * config/i386/i386.c (ix86_target_string): Fix a typo in + comments. Add -mfma. + 2010-03-22 Mike Stump PR target/23071 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 56207657ba1..f6a1346c7ff 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2406,7 +2406,7 @@ ix86_handle_option (size_t code, const char *arg ATTRIBUTE_UNUSED, int value) } } -/* Return a string the documents the current -m options. The caller is +/* Return a string that documents the current -m options. The caller is responsible for freeing the string. */ static char * @@ -2425,6 +2425,7 @@ ix86_target_string (int isa, int flags, const char *arch, const char *tune, { { "-m64", OPTION_MASK_ISA_64BIT }, { "-mfma4", OPTION_MASK_ISA_FMA4 }, + { "-mfma", OPTION_MASK_ISA_FMA }, { "-mxop", OPTION_MASK_ISA_XOP }, { "-mlwp", OPTION_MASK_ISA_LWP }, { "-msse4a", OPTION_MASK_ISA_SSE4A }, -- 2.11.4.GIT