Introduce flag -mprefer-avx128 for the auto-vectorizer to generate only 128-bit avx...
authorChangpeng Fang <changpeng.fang@amd.com>
Fri, 4 Mar 2011 17:56:39 +0000 (17:56 +0000)
committerChangpeng Fang <cfang@gcc.gnu.org>
Fri, 4 Mar 2011 17:56:39 +0000 (17:56 +0000)
commitd9c642462049486d1dbf560686723313193baf43
tree3c50e34a6c3fd630527aee6807e1f3d67a274f6f
parent7a9d7a4f865490d0972a07dc4d8ae2de6b2c5a27
Introduce flag -mprefer-avx128 for the auto-vectorizer to generate only 128-bit avx insns.

* config/i386/i386.opt (mprefer-avx128): New flag.
* config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode
when the flag -mprefer-avx128 is on.

From-SVN: r170681
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.opt