PATCH: PR target/48171: Missing "Save" on -mavx and -mfma

H.J. Lu hongjiu.lu@intel.com
Thu Mar 17 17:51:00 GMT 2011


Hi,

All i386 ISA options, except for -mavx and -mfma, have Save.  This patch
fixes it.  OK for trunk and 4.6?

Thanks.


H.J.
---
2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR target/48171
	* config/i386/i386.opt: Add Save to -mavx and -mfma.

diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt
index 0563bc1..2b1ffc3 100644
--- a/gcc/config/i386/i386.opt
+++ b/gcc/config/i386/i386.opt
@@ -329,11 +329,11 @@ Target Undocumented Alias(mavx) Warn(%<-msse5%> was removed)
 ;; Deprecated
 
 mavx
-Target Report Mask(ISA_AVX) Var(ix86_isa_flags)
+Target Report Mask(ISA_AVX) Var(ix86_isa_flags) Save
 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2 and AVX built-in functions and code generation
 
 mfma
-Target Report Mask(ISA_FMA) Var(ix86_isa_flags)
+Target Report Mask(ISA_FMA) Var(ix86_isa_flags) Save
 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and FMA built-in functions and code generation
 
 msse4a



More information about the Gcc-patches mailing list