diff options
author | Changpeng Fang <changpeng.fang@amd.com> | 2011-06-29 17:53:49 +0000 |
---|---|---|
committer | Changpeng Fang <cfang@gcc.gnu.org> | 2011-06-29 17:53:49 +0000 |
commit | 5c0d88e64ad5180036145f1de53783fae391bcc6 (patch) | |
tree | 27d28736764410b2e6f2d4484a38e12e0a3ff7fc /ylwrap | |
parent | 55d80bc439380c02b8110662016d35dfc01b4cf0 (diff) | |
download | gcc-5c0d88e64ad5180036145f1de53783fae391bcc6.zip gcc-5c0d88e64ad5180036145f1de53783fae391bcc6.tar.gz gcc-5c0d88e64ad5180036145f1de53783fae391bcc6.tar.bz2 |
Auto-vectorizer generates 128-bit AVX insns by default for bdver1.
* config/i386/i386.opt (mprefer-avx128): Redefine the flag as a Mask option.
* config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_AVX128_OPTIMAL entry.
(TARGET_AVX128_OPTIMAL): New definition.
* config/i386/i386.c (initial_ix86_tune_features): Initialize
X86_TUNE_AVX128_OPTIMAL entry.
(ix86_option_override_internal): Enable the generation
of the 128-bit instructions when TARGET_AVX128_OPTIMAL is set.
(ix86_preferred_simd_mode): Use TARGET_PREFER_AVX128.
(ix86_autovectorize_vector_sizes): Use TARGET_PREFER_AVX128.
From-SVN: r175661
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions