[Bug target/38201] -mfma/-mavx and -msse5/-msse4a don't work together
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Nov 22 15:10:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list