diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-03-22 23:17:09 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-03-22 16:17:09 -0700 |
commit | 99eaa2e703a812e96a103d21f9f2e2169349cc11 (patch) | |
tree | 3759817753d0f8d4f49b943d963824dde152c66b | |
parent | 212066e660034c73cdeffc6120b03a0938afcb53 (diff) | |
download | gcc-99eaa2e703a812e96a103d21f9f2e2169349cc11.zip gcc-99eaa2e703a812e96a103d21f9f2e2169349cc11.tar.gz gcc-99eaa2e703a812e96a103d21f9f2e2169349cc11.tar.bz2 |
Add -mfma to ix86_target_string.
2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_target_string): Fix a typo in
comments. Add -mfma.
From-SVN: r157655
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1bd54a..01868b5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-03-22 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/i386.c (ix86_target_string): Fix a typo in + comments. Add -mfma. + 2010-03-22 Mike Stump <mikestump@comcast.net> PR target/23071 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5620765..f6a1346 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 }, |