This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Should -mfma/-mavx and -msse5/-msse4a mutually exclusive?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Uros Bizjak" <ubizjak at gmail dot com>, "GCC Development" <gcc at gcc dot gnu dot org>, "Ye, Joey" <joey dot ye at intel dot com>, "Guo, Xuepeng" <xuepeng dot guo at intel dot com>, "rajagopal, dwarak" <dwarak dot rajagopal at amd dot com>
- Date: Sun, 16 Nov 2008 11:04:02 -0800
- Subject: Should -mfma/-mavx and -msse5/-msse4a mutually exclusive?
Hi,
We are looking into Intel FMA support in gcc. For
double
foo (double x, double y, double z)
{
return x * y + z;
}
What should "-mfma -msse5" generate? Should -msse5 turn off -mfma and
vice versa?
Also I am not sure if "-mavx -msse5" or "-mavx -msse4a" make any senses. I think
-mavx should turn off -msse5/-msse4a and vice versa.
Thanks.
--
H.J.