This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/38201] -mfma/-mavx and -msse5/-msse4a don't work together



------- Comment #11 from hjl dot tools at gmail dot com  2008-11-22 15:09 -------
(In reply to comment #10)
> We should have -mfma to enable a fused multiply-add instruction that is
> available
> when enabling either -msse5 or -mavx.  -mfma should not itself enable any
> of the instruction set enabling features.
> 
> HJ, why did you need -mfma and could not have used -mfused-madd for this?
> IMHO -mfma is confusing and should be removed.
> 

Intel FMA is a separate instruction set with its own feature bit in CPUID.
Using -mfused-madd -mavx to enable an instruction set doesn't look
appropriate to me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38201


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]