On Wed, Apr 25, 2012 at 4:38 PM, Sriraman Tallam <tmsri...@google.com> wrote: > Hi H.J, > > Could you please review this patch for AVX2 check? > > * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value. > (get_available_features): New argument. Check for AVX2. > (__cpu_indicator_init): Modify call to get_available_features > . > * doc/extend.texi: Document avx2 support. > * testsuite/gcc.target/i386/builtin_target.c: Check avx2. > * config/i386/i386.c (fold_builtin_cpu): Add avx2. >
It looks good to me. Thanks. -- H.J.