Remove unnecessary ICC flags affecting performance
authorRoland Schulz <roland@utk.edu>
Thu, 17 Jan 2013 09:37:47 +0000 (04:37 -0500)
committerErik Lindahl <erik@kth.se>
Thu, 17 Jan 2013 21:54:38 +0000 (22:54 +0100)
commit6c45135f1072302f5310a4616005c6de9e21789f
tree48d76d5032de66deb8eda63e6ef5ca64ed4e6dbe
parente508a07b6e127fa1cf31d263bcbd33e4040066cb
Remove unnecessary ICC flags affecting performance

Since we add -msse/../-mavx based on the acceleration we shouldn't
add -mtune=core2 anymore. Especially because it is added later
and takes precedence over the (higher) acceleration flag.

-ip and -funroll-all-loops could also be deleted because they don't
seem to give any significant performance improvement, and might
increase compilation time, but they don't hurt gromacs performance.

In theory it could help to use -xavx instead of -mavx but I can't
measure a difference.

Change-Id: Icd11c40c3cd3ef2ae6ef42f07d5d75c228593f51
cmake/gmxCFlags.cmake